fix ree regex

This commit is contained in:
jkhsjdhjs 2018-08-14 12:52:58 +02:00
parent 6b1c3a4e8f
commit c36569d33d
Signed by: jkhsjdhjs
GPG Key ID: BAC6ADBAB7D576CC

View File

@ -114,7 +114,7 @@ class Useless(DatabasePlugin):
"""Returns a huehuehue when someone writes it.""" """Returns a huehuehue when someone writes it."""
self.bot.privmsg(target, msg) self.bot.privmsg(target, msg)
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :re{2,}$') @irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :re{{2,}}$')
def reeeeee(self, target: str): def reeeeee(self, target: str):
"""Returns a REEEE.""" """Returns a REEEE."""
self.bot.privmsg(target, re_generator()) self.bot.privmsg(target, re_generator())