Example #1
0
 public static Task DeleteInvite(this DiscordClient client, Invite invite)
 {
     if (invite == null)
     {
         throw new ArgumentNullException(nameof(invite));
     }
     return(invite.Delete());
 }
Example #2
0
 public static Task DeleteInvite(this DiscordClient client, Invite invite)
 {
     if (invite == null) throw new ArgumentNullException(nameof(invite));
     return invite.Delete();
 }