private async Task ShowCommandHelp(string commandName) { var command = _service.Commands.FirstOrDefault(x => x.Name == commandName); if (command == null) { await ReplyAsync(TextUtils.GetWarnText($"Command [{commandName}] not found")); } else { var eb = new HelpEmbedBuilder(command); await ReplyAsync("", false, eb.Build()); } }
public async Task HelpAsync([Remainder] string cmd = null) { await ReplyAsync(embed : _builder.Build(cmd)); }