fix(pterodactyl): cog ->Cog
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 20s

This commit is contained in:
Seaswimmer 2024-02-28 12:44:54 -05:00
parent 0961985168
commit 3d8f479347
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -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]}))