1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00
This commit is contained in:
Thorsten
2016-02-06 10:32:39 +01:00
parent ab42daeab1
commit 4150137414

View File

@@ -686,6 +686,15 @@ def flausch(argv, **args):
}
@pluginfunction('slap', "slap people", ptypes_COMMAND, ratelimit_class=RATE_FUN)
def slap(argv, **args):
if not argv:
return
return {
'msg': '/me slaps {}'.format(argv[0])
}
@pluginfunction('show-runtimeconfig', "show the current runtimeconfig", ptypes_COMMAND, ratelimit_class=RATE_NO_LIMIT)
def show_runtimeconfig(argv, **args):
if args['reply_user'] != config.conf_get('bot_owner'):