From 4150137414ef2a2ac7f7a9a9034340ac7bcc5d73 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 6 Feb 2016 10:32:39 +0100 Subject: [PATCH] slap --- plugins/commands.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/plugins/commands.py b/plugins/commands.py index 5e8e6dc..4417130 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -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'):