disable repeater
This commit is contained in:
@@ -775,8 +775,9 @@ def raise_an_error(argv, **args):
|
|||||||
raise RuntimeError("Exception for debugging")
|
raise RuntimeError("Exception for debugging")
|
||||||
|
|
||||||
|
|
||||||
@pluginfunction('repeat', 'repeat the last message', ptypes.COMMAND)
|
@pluginfunction('repeat', 'repeat the last message', ptypes.COMMAND, enabled=False)
|
||||||
def repeat_message(argv, **args):
|
def repeat_message(argv, **args):
|
||||||
|
return {'msg': 'disabled until channel separation'}
|
||||||
return {
|
return {
|
||||||
'msg': args['stack'][-1]['body']
|
'msg': args['stack'][-1]['body']
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user