|
|
@ -76,10 +76,10 @@ if __name__ == "__main__":
|
|
|
|
for event in events:
|
|
|
|
for event in events:
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
'bots-like-gaston' in event and
|
|
|
|
'bots-like-gaston' in event and
|
|
|
|
'AI ' in event and
|
|
|
|
'test' in event and
|
|
|
|
event.get(type) == 'message'
|
|
|
|
event.get(type) == 'message'
|
|
|
|
) :
|
|
|
|
) :
|
|
|
|
if "AI " in text.lower and link not in text:
|
|
|
|
if "test" in text.lower and link not in text:
|
|
|
|
slack_client.api_call(
|
|
|
|
slack_client.api_call(
|
|
|
|
"reactions.add",
|
|
|
|
"reactions.add",
|
|
|
|
name = thumbsup
|
|
|
|
name = thumbsup
|
|
|
|