temporarily remove slack hook
This commit is contained in:
parent
fcdfd667bd
commit
6258427c42
2
bot.py
2
bot.py
@ -150,6 +150,6 @@ if __name__ == '__main__':
|
|||||||
wordle_num = (datetime.date.today() - datetime.date(2022, 1, 17)).days + 212
|
wordle_num = (datetime.date.today() - datetime.date(2022, 1, 17)).days + 212
|
||||||
lines = [f"Wordle {wordle_num}: {result['iterations']}/6"]
|
lines = [f"Wordle {wordle_num}: {result['iterations']}/6"]
|
||||||
lines = lines + [''.join(row) for row in result['history']]
|
lines = lines + [''.join(row) for row in result['history']]
|
||||||
requests.post(os.environ['SLACK_HOOK_URL'], json={'text': '\n'.join(lines)})
|
# requests.post(os.environ['SLACK_HOOK_URL'], json={'text': '\n'.join(lines)})
|
||||||
else:
|
else:
|
||||||
print('Failed to find the word.')
|
print('Failed to find the word.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user