improve course command responses

This commit is contained in:
wish
2023-03-12 01:59:21 +11:00
parent baf53ea212
commit 9a42042686

View File

@@ -223,9 +223,11 @@ func parseChatCommand(s *Session, command string) {
} else {
sendServerChatMessage(s, fmt.Sprintf(s.server.dict["commandCourseLocked"], course.Aliases()[0]))
}
return
}
}
}
sendServerChatMessage(s, fmt.Sprintf(s.server.dict["commandCourseError"], commands["Course"].Prefix))
}
} else {
sendDisabledCommandMessage(s, commands["Course"])