fix: Show config prefix instead of just !

This commit is contained in:
Matthew
2023-11-27 15:34:28 -05:00
parent 88652e1dc0
commit de5c3addd1

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.Prefix, command.Description))
sendServerChatMessage(s, fmt.Sprintf("%s%s: %s", s.server.erupeConfig.CommandPrefix, command.Prefix, command.Description))
}
} else {
sendDisabledCommandMessage(s, commands["Help"])