Skip to content

Commit 2383acb

Browse files
committed
STop spamming api
1 parent e8fb2fd commit 2383acb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ async def autoupdate_loop(self):
332332
short_sha = commit_data['sha'][:6]
333333
em.add_field(name='Merge Commit', value=f"[`{short_sha}`]({html_url}) {message} - {user['username']}")
334334
else:
335+
await asyncio.sleep(3600)
335336
continue
336337

337338
em.add_field(name='Latest Commit', value=await self.get_latest_updates(limit=1), inline=False)

0 commit comments

Comments
 (0)