示例#1
0
文件: Help.cs 项目: ThumbTacc/Rid
 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);
     }
 }