command name argument lower, ensure client is properly removed from main.py all_clients

This commit is contained in:
Xevion
2021-01-20 23:37:06 -06:00
parent 76ec0fd75b
commit 303f08b712
3 changed files with 6 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ class CommandHandler:
aliases = []
name = name or func.__name__.capitalize()
command_name = command_name or func.__name__.lower()
command_name = (command_name or func.__name__).lower()
for alias in aliases:
self.aliases[alias] = command_name