public Task PokeClient(GetClientsInfo client, string message)
 {
     if (client == null)
     {
         throw new ArgumentNullException(nameof(client));
     }
     return(PokeClient(client.Id, message));
 }
 public Task SendMessage(string message, GetClientsInfo targetClient)
 {
     if (targetClient == null)
     {
         throw new ArgumentNullException(nameof(targetClient));
     }
     return(SendMessage(message, MessageTarget.Private, targetClient.Id));
 }
 public Task <IReadOnlyList <ClientBan> > BanClient(GetClientsInfo client)
 {
     if (client == null)
     {
         throw new ArgumentNullException(nameof(client));
     }
     return(BanClient(client.Id));
 }
 public Task <IReadOnlyList <ClientBan> > BanClient(GetClientsInfo client, TimeSpan duration, string reason)
 {
     if (client == null)
     {
         throw new ArgumentNullException(nameof(client));
     }
     return(BanClient(client.Id, duration, reason));
 }
 public Task KickClient(GetClientsInfo client, KickOrigin from) => KickClient(client.Id, from);