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)); }
public async Task Help() { if (UtilService.IsChanBlacklisted(Context.Channel)) { await Context.Message.DeleteAsync(); LoggingService.Log("blacklist", LogSeverity.Info, "Command used in wrong channel."); return; } await ReplyAsync("", false, await HelpService.GetAllCommandsAsync(Context, Service, Context.Channel)); // await Context.User.SendMessageAsync("", false, await HelpService.CommandsAsync(Context, Service, Context.Channel)); }