|
|
|
@ -9,7 +9,7 @@ def loadCommands():
|
|
|
|
|
for filename in listdir("commands"):
|
|
|
|
|
if filename.endswith(".py") and filename != "__init__.py":
|
|
|
|
|
commandName = filename[0:-3]
|
|
|
|
|
className = commandName.capitalize()
|
|
|
|
|
className = commandName.capitalize()+"Command"
|
|
|
|
|
try:
|
|
|
|
|
module = __import__('commands.%s' % commandName)
|
|
|
|
|
if not commandName in CommandMap:
|
|
|
|
|