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

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