resolving conflict

pull/11/head
Sina Mashek 2017-12-06 13:31:38 +02:00
parent 6205bd2aec
commit ce2a9cf125
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ def message(msg):
def add_plugin(command, func): def add_plugin(command, func):
cmds.append({'cmd': command, 'func': func}) cmds.append({'cmd': command, 'func': func})
def clear_plugins():
cmds.clear()
def add_listener(name, func): def add_listener(name, func):
lstnrs.append({'lstn': name, 'func': func}) lstnrs.append({'lstn': name, 'func': func})