This commit is contained in:
deathbybandaid 2019-06-19 11:22:13 -04:00
parent ebc0b1756a
commit e055f0652d

View File

@ -17,7 +17,7 @@ import sopel_modules.SpiceBot as SpiceBot
(?:\\/ | [^/])+ (?:\\/ | [^/])+
) )
""") """)
def bot_command_reddit_user(bot, trigger): def bot_command_reddit_syntax(bot, trigger):
bot.say(str(trigger.group(2))) bot.say(str(trigger.group(1).split(' ', 1)))
message = SpiceBot.reddit.prerun(trigger) message = SpiceBot.reddit.prerun(trigger)
bot.osd(str(message)) bot.osd(str(message))