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))