public async Task PrintUsageInfo() { EmbedBuilder embedBuilder = new EmbedBuilder(); CommandSummaryHelper.GenerateGroupCommandSummary(GetType(), embedBuilder, "ttt"); await ReplyAsync(embed : embedBuilder.Build()); }
public async Task PrintUsageInfo() { EmbedBuilder embedBuilder = new EmbedBuilder(); embedBuilder.Title = "**_UNDERSTAND UNDERSTAND_**"; CommandSummaryHelper.GenerateGroupCommandSummary(GetType(), embedBuilder, "hideki"); CommandSummaryHelper.GenerateGroupCommandSummary(typeof(TwitterModule.HidekiTwitterModule), embedBuilder, "hideki"); await ReplyAsync(embed : embedBuilder.Build()); }
public async Task Help([Summary("the name of the command to search for")][Remainder] string commandName = null) { List <Embed> helpTexts = CommandSummaryHelper.GenerateHelpEmbeds(commandName); if (helpTexts == null) { await ReplyAsync("No command with the given name was found. (Usage: !help <command-name>)"); } else { foreach (var helpEmbed in helpTexts) { await ReplyAsync(embed : helpEmbed); } } }