chore: Change command name to show the prefix instead.

This commit is contained in:
Matthew
2023-11-27 15:32:52 -05:00
parent 325f6bebb9
commit 88652e1dc0

View File

@@ -326,7 +326,7 @@ func parseChatCommand(s *Session, command string) {
case commands["Help"].Prefix:
if commands["Help"].Enabled {
for _, command := range maps.Values(commands) {
sendServerChatMessage(s, fmt.Sprintf("%s: %s", command.Name, command.Description))
sendServerChatMessage(s, fmt.Sprintf("!%s: %s", command.Prefix, command.Description))
}
} else {
sendDisabledCommandMessage(s, commands["Help"])