Kumi
bf23771989
New "imagine" and "calculate" commands Implemented image sending Moved OpenAI specific code to OpenAI class Abstracted away OpenAI API in bot class Minor fixes
23 lines
717 B
Python
23 lines
717 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
|
|
from .systemmessage import command_systemmessage
|
|
from .imagine import command_imagine
|
|
from .calculate import command_calculate
|
|
|
|
COMMANDS = {
|
|
"help": command_help,
|
|
"newroom": command_newroom,
|
|
"stats": command_stats,
|
|
"botinfo": command_botinfo,
|
|
"coin": command_coin,
|
|
"ignoreolder": command_ignoreolder,
|
|
"systemmessage": command_systemmessage,
|
|
"imagine": command_imagine,
|
|
"calculate": command_calculate,
|
|
None: command_unknown,
|
|
}
|