move sleep to do it for each message we send

master
Egg 2023-02-05 11:47:42 +01:00
parent a94afbaecf
commit d698bb2ed0
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ if __name__ == '__main__':
for bot2 in bots:
bot2.post(user, status)
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
sleep(0.5)
sleep(0.5)
except Exception:
logger.error("Shutdown.", exc_info=True)