예제 #1
0
 public bool CanExecute(SocketUser user)
 {
     if (NeedMod)
     {
         if (CommandValidator.IsMod(user))
         {
             return(true);
         }
         else
         {
             return(false);
         }
     }
     return(true);
 }
 public override async Task Execute(ClientCommand commandData)
 {
     await commandData.RespondAsDM(CommandValidator.IsMod(commandData.Sender).ToString());
 }