mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
update dummy plugin to @foo() magic
This commit is contained in:
12
plugins.py
12
plugins.py
@@ -611,16 +611,8 @@ def command_wp(argv, lang='de', **args):
|
|||||||
'msg': 'json data seem to be broken'
|
'msg': 'json data seem to be broken'
|
||||||
}
|
}
|
||||||
|
|
||||||
#def command_dummy(args):
|
#@pluginfunction('dummy', 'dummy description', ptypes_COMMAND)
|
||||||
# if 'register' == args:
|
#def command_dummy(argv, **args):
|
||||||
# return {
|
|
||||||
# 'name': 'dummy',
|
|
||||||
# 'desc': 'dummy description',
|
|
||||||
# 'args': ('argv0', 'reply_user'),
|
|
||||||
# 'is_enabled': True,
|
|
||||||
# 'ratelimit_class': RATE_GLOBAL
|
|
||||||
# }
|
|
||||||
#
|
|
||||||
# if 'dummy' != argv[0]:
|
# if 'dummy' != argv[0]:
|
||||||
# return
|
# return
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user