Esempio n. 1
0
 public WelcomeScreen()
 {
     OnClientUpdated += (s, e) =>
     {
         Channels.SetClientsInList(Client);
     };
 }
Esempio n. 2
0
 public DiscordTemplateGuild()
 {
     OnClientUpdated += (sender, e) =>
     {
         Roles.SetClientsInList(Client);
         Channels.SetClientsInList(Client);
     };
 }
Esempio n. 3
0
 public DiscordTemplateGuild()
 {
     OnClientUpdated += (sender, e) =>
     {
         Roles.SetClientsInList(Client);
         Channels.SetClientsInList(Client);
     };
     JsonUpdated += (sender, json) =>
     {
         Channels = json.Value <JArray>("channels").PopulateListJson <GuildChannel>();
     };
 }
Esempio n. 4
0
 public SocketGuild()
 {
     OnClientUpdated += (sender, e) => Channels.SetClientsInList(Client);
 }