mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 15:04:38 +01:00
chore: Change command name to show the prefix instead.
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user