diff --git a/ircbot/bot.py b/ircbot/bot.py index 2c27d35..63b1a39 100644 --- a/ircbot/bot.py +++ b/ircbot/bot.py @@ -162,6 +162,7 @@ class DrReactor(irc.client.Reactor): if sender_nick == channel.discord_bridge: short_what = ' '.join(what.split(' ')[1:]) match = re.match(addressed_pattern, short_what, re.IGNORECASE) + event.arguments[0] = short_what else: match = re.match(addressed_pattern, what, re.IGNORECASE) except IrcChannel.DoesNotExist: