mirror of
https://github.com/MrDetonia/Maki.git
synced 2024-11-22 11:54:16 -05:00
butter
This commit is contained in:
parent
0d966522fd
commit
86f54bcbcb
4
bot.py
4
bot.py
@ -350,6 +350,10 @@ def on_message(message):
|
|||||||
if bool(re.search(r'\b[Mm][Aa][Kk][Ii]\b', message.content)):
|
if bool(re.search(r'\b[Mm][Aa][Kk][Ii]\b', message.content)):
|
||||||
yield from client.add_reaction(message, '\N{BLACK HEART SUIT}')
|
yield from client.add_reaction(message, '\N{BLACK HEART SUIT}')
|
||||||
|
|
||||||
|
# butter
|
||||||
|
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}')
|
||||||
|
|
||||||
# send response to channel if needed:
|
# send response to channel if needed:
|
||||||
if response is not '':
|
if response is not '':
|
||||||
for attempt in range(5):
|
for attempt in range(5):
|
||||||
|
Loading…
Reference in New Issue
Block a user