Esempio n. 1
0
 public GuildInvite()
 {
     OnClientUpdated += (sender, e) =>
     {
         Guild.SetClient(Client);
         Channel.SetClient(Client);
     };
 }
Esempio n. 2
0
        public DiscordInvite()
        {
            OnClientUpdated += (sender, e) =>
            {
                Inviter.SetClient(Client);

                Channel.SetClient(Client);
            };
        }
Esempio n. 3
0
 public BaseInvite()
 {
     OnClientUpdated += (sender, e) =>
     {
         Guild.SetClient(Client);
         Channel.SetClient(Client);
         Creator.SetClient(Client);
     };
 }
Esempio n. 4
0
 public StageDiscoveryItem()
 {
     OnClientUpdated += (s, e) =>
     {
         Instance.SetClient(Client);
         SampleSpeakers.SetClientsInList(Client);
         Guild.SetClient(Client);
         Channel.SetClient(Client);
     };
 }
Esempio n. 5
0
        public DiscordInvite()
        {
            OnClientUpdated += (sender, e) =>
            {
                Inviter.SetClient(Client);

                if (Guild != null)
                {
                    Guild.SetClient(Client);
                }

                Channel.SetClient(Client);
            };
            JsonUpdated += (sender, json) => Channel.SetJson(json.Value <JObject>("channel"));
        }
Esempio n. 6
0
        public DiscordInvite()
        {
            OnClientUpdated += (sender, e) =>
            {
                Inviter.SetClient(Client);

                if (Guild != null)
                {
                    ((GuildChannel)Channel).GuildId = Guild.Id;
                    Guild.SetClient(Client);
                }

                Channel.SetClient(Client);
            };
        }