public DiscordCrosspostWebhook()
 {
     OnClientUpdated += (s, e) =>
     {
         SourceGuild.SetClient(Client);
         SourceChannel.SetClient(Client);
     };
 }
Beispiel #2
0
 public DiscordGuildTemplate()
 {
     OnClientUpdated += (sender, e) =>
     {
         Creator.SetClient(Client);
         SourceGuild.SetClient(Client);
         Snapshot.SetClient(Client);
     };
 }
Beispiel #3
0
 public DiscordGuildTemplate()
 {
     OnClientUpdated += (sender, e) =>
     {
         SourceGuild.SetClient(Client);
         Template.SetClient(Client);
     };
     JsonUpdated += (sender, json) =>
     {
         Template.SetJson(json.Value <JObject>("serialized_source_guild"));
     };
 }