Kumi
202bed25c6
Replace bunch of globals with single dictionary Move commands to subdirectory Add coin toss command (because) Add command to ignore previous messages in a room as context
17 lines
No EOL
477 B
Python
17 lines
No EOL
477 B
Python
from .help import command_help
|
|
from .newroom import command_newroom
|
|
from .stats import command_stats
|
|
from .botinfo import command_botinfo
|
|
from .unknown import command_unknown
|
|
from .coin import command_coin
|
|
from .ignoreolder import command_ignoreolder
|
|
|
|
COMMANDS = {
|
|
"help": command_help,
|
|
"newroom": command_newroom,
|
|
"stats": command_stats,
|
|
"botinfo": command_botinfo,
|
|
"coin": command_coin,
|
|
"ignoreolder": command_ignoreolder,
|
|
None: command_unknown,
|
|
} |