fix: Help command's examples
This commit is contained in:
parent
1fde3e5a2e
commit
85b98787b1
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ func helpRun(c *Command, s *discordgo.Session, m any, args *[]string) {
|
||||||
if command.DetailedDescription.Examples != nil {
|
if command.DetailedDescription.Examples != nil {
|
||||||
embed.Fields = append(embed.Fields, &discordgo.MessageEmbedField{
|
embed.Fields = append(embed.Fields, &discordgo.MessageEmbedField{
|
||||||
Name: "예시",
|
Name: "예시",
|
||||||
Value: utils.CodeBlock("md", strings.Join(addPrefix(c.DetailedDescription.Examples), "\n")),
|
Value: utils.CodeBlock("md", strings.Join(addPrefix(command.DetailedDescription.Examples), "\n")),
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
embed.Fields = append(embed.Fields, &discordgo.MessageEmbedField{
|
embed.Fields = append(embed.Fields, &discordgo.MessageEmbedField{
|
||||||
|
|
Loading…
Reference in a new issue