Added reee event

This commit is contained in:
mrhanky 2017-05-31 14:07:57 +02:00
parent 85a8c3985c
commit 1ab4162d4f
No known key found for this signature in database
GPG Key ID: 67D772C481CB41B8

View File

@ -21,6 +21,11 @@ class Useless(Plugin):
"""Returns a huehuehue when someone writes it."""
self.bot.privmsg(channel, msg)
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<channel>\S+) :reeeeee$')
def reeeeee(self, channel: str):
"""Returns a REEEE."""
self.bot.privmsg(channel, 'REEEEEEEEEEEEEEEEEEEEEEEEEEEE')
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<channel>\S+) :same$')
def same(self, channel: str):
"""Returns a plain same when a user writes same."""