From e055f0652d03f98c26ccd291202c85f36c61636c Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 19 Jun 2019 11:22:13 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_Core_Commands/Reddit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/Reddit.py b/sopel_modules/SpiceBot_Core_Commands/Reddit.py index 53270a2..8c84257 100644 --- a/sopel_modules/SpiceBot_Core_Commands/Reddit.py +++ b/sopel_modules/SpiceBot_Core_Commands/Reddit.py @@ -17,7 +17,7 @@ import sopel_modules.SpiceBot as SpiceBot (?:\\/ | [^/])+ ) """) -def bot_command_reddit_user(bot, trigger): - bot.say(str(trigger.group(2))) +def bot_command_reddit_syntax(bot, trigger): + bot.say(str(trigger.group(1).split(' ', 1))) message = SpiceBot.reddit.prerun(trigger) bot.osd(str(message))