diff options
author | 2023-05-06 20:09:19 +0100 | |
---|---|---|
committer | 2023-05-31 13:03:54 +0100 | |
commit | ed602405df8e4ddf9e7993e42eea9a5e9afd4856 (patch) | |
tree | 3c2284b9d1ef15fa423875be832207b2a06ca291 /dev/bot/__init__.py | |
parent | Bump action step versions in CI (diff) |
Apply fixes for ruff linting
Diffstat (limited to 'dev/bot/__init__.py')
-rw-r--r-- | dev/bot/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/bot/__init__.py b/dev/bot/__init__.py index 6ee1ae47..1c43b1a8 100644 --- a/dev/bot/__init__.py +++ b/dev/bot/__init__.py @@ -21,4 +21,4 @@ class Bot(pydis_core.BotBase): async def setup_hook(self) -> None: """Load extensions on startup.""" await super().setup_hook() - asyncio.create_task(self.load_extensions(sys.modules[__name__])) + await self.load_extensions(sys.modules[__name__]) |