From ed602405df8e4ddf9e7993e42eea9a5e9afd4856 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sat, 6 May 2023 20:09:19 +0100 Subject: Apply fixes for ruff linting --- dev/bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev/bot/__init__.py') 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__]) -- cgit v1.2.3