From 13b59336a2dc6a5026dd0f935f181ece145a82bb Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 19 Jun 2019 09:34:30 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_Core_Commands/Reddit.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/Reddit.py b/sopel_modules/SpiceBot_Core_Commands/Reddit.py index b442915..b5dd8a6 100644 --- a/sopel_modules/SpiceBot_Core_Commands/Reddit.py +++ b/sopel_modules/SpiceBot_Core_Commands/Reddit.py @@ -4,6 +4,8 @@ from __future__ import unicode_literals, absolute_import, division, print_functi import sopel.module +import spicemanip + # import sopel_modules.SpiceBot as SpiceBot @@ -13,8 +15,8 @@ import sopel.module ) """) def bot_command_reddit_user(bot, trigger): - bot.osd(str(trigger)) - bot.osd(str(trigger.args)) + trigger_command = spicemanip.main(trigger.args[1], 1).lower()[0:] + bot.osd(str(trigger_command)) @sopel.module.rule(r"""(?:)r/