mirror of
https://gitlab.com/2-chainz/2-chainz-rest.git
synced 2025-08-03 03:51:24 +00:00
bandaid to keep bot from sending 10 tweets
This commit is contained in:
@@ -25,6 +25,7 @@ def main(mytimer: func.TimerRequest) -> None:
|
||||
|
||||
api.update_status(status=f"{quote} - {alias}\n")
|
||||
tweeted = True
|
||||
tries += 10
|
||||
except TweepError:
|
||||
tries += 1
|
||||
logging.warning(f"{quote} - {alias} - Has already been tweeted")
|
||||
|
Reference in New Issue
Block a user