Skip to content

Commit

Permalink
Add some delay
Browse files Browse the repository at this point in the history
  • Loading branch information
MattBSG authored Jun 22, 2024
1 parent 175ce69 commit 029da12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ def schedule_task(self, tryTime: int, _id: str, guild_id: int):
)

async def expire_actions(self, _id, guild):
await asyncio.sleep(0.5)
db = mclient.bowser.puns
doc = db.find_one({'_id': _id})
if not doc:
Expand Down

0 comments on commit 029da12

Please sign in to comment.