stuff
This commit is contained in:
parent
99e363cc99
commit
772c42ed66
2 changed files with 17 additions and 5 deletions
11
core/bot.py
11
core/bot.py
|
@ -68,6 +68,17 @@ class Bot(threading.Thread):
|
|||
|
||||
# run plugin loader
|
||||
self.plugins = collections.defaultdict(list)
|
||||
|
||||
""" plugins format
|
||||
{'PLUGIN_TYPE': [(<COMPILED_PLUGIN_FUNTION>,
|
||||
{PLUGIN_ARGS}),
|
||||
(<COMPILED_PLUGIN_FUNTION>,
|
||||
{PLUGIN_ARGS})],
|
||||
'PLUGIN_TYPE': [(<COMPILED_PLUGIN_FUNTION>,
|
||||
{PLUGIN_ARGS})]
|
||||
}
|
||||
"""
|
||||
|
||||
self.threads = {}
|
||||
|
||||
self.loader = PluginLoader(self)
|
||||
|
|
Reference in a new issue