Example #1
0
 public async Task Commands(
     [Summary("The name of the module to be searched for.")]
     string moduleName)
 {
     try
     {
         var module   = _help.GetModuleInfo(moduleName);
         var commands = _help.ListCommands(module);
         await Context.Channel.SendMessageAsync(embed : Embeds.CreateEmbed(module.Name, commands));
     }
     catch (Exception e)
     {
         await ReplyAsync(e.Message);
     }
 }