From 3d8f4793474054f6e763e82a781014bcf1d2479d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 28 Feb 2024 12:44:54 -0500 Subject: [PATCH] fix(pterodactyl): cog ->Cog --- pterodactyl/pterodactyl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index 61e3bf0..1f7e0b4 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -91,7 +91,7 @@ class Pterodactyl(commands.Cog): self.task.cancel() await self.client._session.close() # pylint: disable=protected-access - @commands.cog.listener() + @commands.Cog.listener() async def on_message(self, message: discord.Message): if message.channel.id == await self.config.console_channel(): self.websocket.send(json.dumps({"event": "send command", "args": [message.content]}))