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

                Channel.SetClient(Client);
            };
        }
예제 #3
0
 public BaseInvite()
 {
     OnClientUpdated += (sender, e) =>
     {
         Guild.SetClient(Client);
         Channel.SetClient(Client);
         Creator.SetClient(Client);
     };
 }
예제 #4
0
 public StageDiscoveryItem()
 {
     OnClientUpdated += (s, e) =>
     {
         Instance.SetClient(Client);
         SampleSpeakers.SetClientsInList(Client);
         Guild.SetClient(Client);
         Channel.SetClient(Client);
     };
 }
예제 #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"));
        }
예제 #6
0
        public DiscordInvite()
        {
            OnClientUpdated += (sender, e) =>
            {
                Inviter.SetClient(Client);

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

                Channel.SetClient(Client);
            };
        }