removed accent to not break the script and also reflect the amount of effort that went into this bot

This commit is contained in:
sose 2020-09-13 18:53:21 +00:00
parent 733dca9459
commit 2c048b5f62
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -46,7 +46,7 @@ while True:
antonym=obj['edges'][i]['end']['label']
if obj['edges'][i]['start']['language'] == 'en' and obj['edges'][i]['end']['language'] == 'en':
if onym+'\n' not in used_words_list and antonym+'\n' not in used_words_list:
mastodon.toot("Pokémon" + onym + " and " + antonym)
mastodon.toot("pokemon" + onym + " and " + antonym)
print("Tooted pokemon " + onym + " and " + antonym)
used_words.write(onym + '\n')
used_words.close()