Skip to content

Commit

Permalink
deleted some files, tasks optimization
Browse files Browse the repository at this point in the history
Signed-off-by: robertsokola <[email protected]>
  • Loading branch information
TheXer committed Sep 3, 2023
1 parent deb38c0 commit 24212d5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 30 deletions.
4 changes: 4 additions & 0 deletions cogs/poll_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ async def send_completed_pool(self):
asyncio.create_task(message.delete())
self.bot.active_discord_polls.remove((poll, message))

@send_completed_pool.before_loop
async def prepare_loop(self):
await self.bot.wait_until_ready()


async def setup(bot):
await bot.add_cog(PollCreate(bot))
Expand Down
4 changes: 0 additions & 4 deletions src/UNKNOWN.egg-info/PKG-INFO

This file was deleted.

19 changes: 0 additions & 19 deletions src/UNKNOWN.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion src/UNKNOWN.egg-info/dependency_links.txt

This file was deleted.

6 changes: 0 additions & 6 deletions src/UNKNOWN.egg-info/top_level.txt

This file was deleted.

0 comments on commit 24212d5

Please sign in to comment.