Skip to content

Commit 60dce9f

Browse files
committed
feat: add note about search to help menu
1 parent a3c2edf commit 60dce9f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/kotlin/me/ddivad/judgebot/services/HelpService.kt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class HelpService(private val discord: Discord) {
4545
description = """
4646
You have **${commands.size}** commands available based on permissions.
4747
48-
Use `${event.prefix()}help` <command> for more information
48+
Use `${event.prefix()}help <command>` for more information
4949
""".trimIndent()
5050
color = event.discord.configuration.theme?.kColor
5151

@@ -54,6 +54,11 @@ class HelpService(private val discord: Discord) {
5454
value = "```css\n${joinNames(sorted)}\n```"
5555
inline = true
5656
}
57+
58+
field {
59+
name = "Don't see what you're looking for?"
60+
value = "Try `search <commmand>`. If the command exists in a bot, it will react with ${Emojis.whiteCheckMark}"
61+
}
5762
}
5863
}
5964

0 commit comments

Comments
 (0)