Exemple #1
0
        public async Task Help([Remainder] string commandName)
        {
            ICommandHelpInfo helpInfo = await HelpService.GetCommandHelpInfoAsync(commandName.Trim());

            await ReplyAsync(embed : EmbedUtilities.BuildCommandHelpInfoEmbed(helpInfo, Config).ToDiscordEmbed());
        }
Exemple #2
0
        public async Task Help()
        {
            IEnumerable <ICommandHelpInfo> helpInfos = await HelpService.GetCommandHelpInfoAsync(Context);

            await ReplyAsync(embed : EmbedUtilities.BuildCommandHelpInfoEmbed(helpInfos, Config).ToDiscordEmbed());
        }