resolving conflict
parent
6205bd2aec
commit
ce2a9cf125
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue