Beispiel #1
0
 public async Task BanUser([CanModerateUser] IUser user, [Name("prune days")] int pruneDays = 0,
                           [Remainder] string reason = null)
 {
     await ReplyAsync(embed : await ModerationService.BanAsync(user, pruneDays, reason, Context));
 }