- @botcmd()
- def xyzzy(self, msg, args):
- """
- Don't call this command...
- """
- yield "/me whispers \"All open MRs have been merged into master.\""
- sleep(5)
- yield "(just kidding)"
-
- @re_botcmd(pattern=r"I blame marge(bot)?", prefixed=False, flags=re.IGNORECASE)
- def dont_blame_margebot(self, msg, match):
- """
- margebot is innocent.
- """
- yield u"(\u300D\uFF9F\uFF9B\uFF9F)\uFF63NOOOooooo say it ain't so."
-
- @re_botcmd(pattern=r"\u0028\u256F\u00B0\u25A1\u00B0\uFF09\u256F\uFE35\u0020\u253B(\u2501+)\u253B", prefixed=False)
- def deflipped(self, msg, match):
- """
- Unflip a properly sized table
- """
- table_len = len(match.group(1))
- deflip_table = u"\u252c" + (u"\u2500" * table_len) + u"\u252c \u30ce( \u309c-\u309c\u30ce)"
- # yield u"\u252c\u2500\u2500\u252c \u30ce( \u309c-\u309c\u30ce)"
- yield deflip_table
-
- @re_botcmd(pattern=r"good bot", prefixed=False, flags=re.IGNORECASE)
- def best_bot(self, msg, match):
- """
- margebot is the best.
- """
- yield "Best bot"
-
- @re_botcmd(pattern=r"magfest", prefixed=False, flags=re.IGNORECASE)
- def margefest(self, msg, args):
- """
- margefest4ever
- """
- return "More like MargeFest, amirite ?"
-
-# ha the dev-infra room sez koji sooooooooooooooooooooooooooooooooooooooooooo much
-# @re_botcmd(pattern=r"k+o+j+i+", prefixed=False, flags=re.IGNORECASE)
-# def koji(self, msg, args):
-# """
-# More like daikaiju, amirite ?
-# """
-# return "More like kaiju, amirite ?"
-
- @re_botcmd(pattern=r"peruvian chicken", prefixed=False, flags=re.IGNORECASE)
- def booruvian(self, msg, args):
- """
- They put hard boiled eggs in their tamales too.
- """
- return "More like Booruvian chicken, amirite ?"
-
- @re_botcmd(pattern=r"booruvian chicken", prefixed=False, flags=re.IGNORECASE)
- def booihoohooruvian(self, msg, args):
- """
- That chicken I do not like.
- """
- return "More like Boohoohooruvian chicken, amirite ?"
-
- @re_botcmd(pattern=r"margebot sucks", prefixed=False, flags=re.IGNORECASE)
- def new_agenda_item(self, msg, args):
- """
- Bring it up with the committee
- """
- return "Bring it up with the Margebot steering committee."
-
- @re_botcmd(pattern=r"jackie", prefixed=False, flags=re.IGNORECASE)
- def jackie(self, msg, args):
- """
- Who dat ?
- """
- return "I don't know any Jackies. I'm calling security."