コード例 #1
0
        [NekoCommand("ban")]//TODO User has permission
        public async Task BanUser(IGuildUser user, [Remainder] string reason)
        {
            InitService();

            await moderationService.BanUser(user, reason);

            await ReplyAsync(embed : embedBuilderService.GetBannedEmbed(user, reason));

            await Context.Message.DeleteAsync();
        }