예제 #1
0
        public async Task Help([Summary("The command you want help for.")][Remainder] string command)
        {
            if (UtilService.IsChanBlacklisted(Context.Channel))
            {
                await Context.Message.DeleteAsync();

                LoggingService.Log("blacklist", LogSeverity.Info, "Command used in wrong channel.");
                return;
            }

            await ReplyAsync("", false, HelpService.GetSingleCommandInfoAsync(command, Context, Service, Context.Channel));

            // await Context.User.SendMessageAsync("", false, await HelpService.CommandsAsync(Context, Service, Context.Channel));
        }