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