示例#1
0
 public async Task WarnUser([Summary("User to warn")] IUser user, [Summary("Reason for warn"), Remainder] string reason = null)
 {
     await _modService.WarnUser(Context, user, reason);
 }
示例#2
0
 public async Task WarnUser(SocketGuildUser user, [Remainder] string reason = null)
 {
     await _modService.WarnUser(Context, user, reason);
 }