Make management commands case-insensitive
This commit is contained in:
@@ -52,6 +52,7 @@ class CommandHandler:
|
|||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
def handler(self, sender, room, command, args, is_management, is_portal):
|
def handler(self, sender, room, command, args, is_management, is_portal):
|
||||||
|
command = command.lower()
|
||||||
self._room_id = room
|
self._room_id = room
|
||||||
try:
|
try:
|
||||||
command = command_handlers[command]
|
command = command_handlers[command]
|
||||||
|
|||||||
Reference in New Issue
Block a user