Skip to content

Commit

Permalink
fix(docs): update to the correct way to do embed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Jan 20, 2025
1 parent 4dd2346 commit 20e2d1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class CustomHelpFormatter : BaseHelpFormatter

public override BaseHelpFormatter WithCommand(Command command)
{
// _embed.AddField(command.Name, command.Description);
// _embed.AddField(new DiscordEmbedField(command.Name, command.Description));
// _strBuilder.AppendLine($"{command.Name} - {command.Description}");
return this;
Expand All @@ -42,7 +42,7 @@ public class CustomHelpFormatter : BaseHelpFormatter
{
foreach (var cmd in cmds)
{
// _embed.AddField(cmd.Name, cmd.Description);
// _embed.AddField(new DiscordEmbedField(cmd.Name, cmd.Description));
// _strBuilder.AppendLine($"{cmd.Name} - {cmd.Description}");
}

Expand Down

0 comments on commit 20e2d1d

Please sign in to comment.