From 54e459b9deaa9dce7a94b9d21a0349a9c50ee934 Mon Sep 17 00:00:00 2001 From: Zac Herd Date: Tue, 6 Dec 2016 23:20:24 +0000 Subject: [PATCH] egg --- bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bot.py b/bot.py index f607938..bc105a5 100644 --- a/bot.py +++ b/bot.py @@ -378,6 +378,10 @@ def on_message(message): if bool(re.search(r'\b[Bb][Uu][Tt][Tt][Ee][Rr]\b', message.content)): yield from client.add_reaction(message, '\N{PERSON WITH FOLDED HANDS}') + # egg + if bool(re.search(r'\b[Ee][Gg][Gg]\b', message.content)): + yield from client.add_reaction(message, '\N{AUBERGINE}') + # send response to channel if needed: if response is not '' and message.server.id not in quiet: for attempt in range(5):