From ceeca727b4d3d307962af92133a244ecbda3a117 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 1 Jun 2023 21:49:49 +0200 Subject: [PATCH] Attempt to upgrade trafficCog to support Red bot 3.5 --- trafficCog/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trafficCog/__init__.py b/trafficCog/__init__.py index ddc351e..591062c 100644 --- a/trafficCog/__init__.py +++ b/trafficCog/__init__.py @@ -1,5 +1,5 @@ from .trafficCog import TrafficCog from redbot.core.bot import Red -def setup(bot: Red): +async def setup(bot: Red): bot.add_cog(TrafficCog(bot)) \ No newline at end of file