Closed loonydev closed 5 years ago
If user have 1k words, he must wait 1k*0.5 = 500 secs, it's almost 10 minutes. For what? Why it's 0.5 sec? Why you need to sleep, if previous call was with await? https://github.com/tezer/OppiWordsBot/blob/744175d13f608ad5033e766db8fd36cf55c4f87b/oppi_wiki_bot.py#L185
await
Telegram may block the bot for frequent messages
Okay, sound logical.
If user have 1k words, he must wait 1k*0.5 = 500 secs, it's almost 10 minutes. For what? Why it's 0.5 sec? Why you need to sleep, if previous call was with
await
? https://github.com/tezer/OppiWordsBot/blob/744175d13f608ad5033e766db8fd36cf55c4f87b/oppi_wiki_bot.py#L185