소스 검색

butter

master
Zac Herd 7 년 전
부모
커밋
86f54bcbcb
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      bot.py

+ 4
- 0
bot.py 파일 보기

@@ -350,6 +350,10 @@ def on_message(message):
if bool(re.search(r'\b[Mm][Aa][Kk][Ii]\b', message.content)):
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:
if response is not '':
for attempt in range(5):


불러오는 중...
취소
저장