예제 #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
파일: SocketGuild.cs 프로젝트: ufgf/Anarchy
 public SocketGuild()
 {
     OnClientUpdated += (sender, e) => Channels.SetClientsInList(Client);
 }