fix(pterodactyl): fixed broken debug statement
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 19s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s

This commit is contained in:
Seaswimmer 2024-02-29 17:14:06 -05:00
parent 07e2497aac
commit a791c27fc3
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -143,7 +143,8 @@ class Pterodactyl(commands.Cog):
webhook = await channel.create_webhook(name="Pterodactyl Chat")
await webhook.send(content=message, username=username, avatar_url=avatar_url)
self.logger.debug("Chat message sent to Discord")
self.logger.debug("Chat channel not set. Skipping sending chat message to Discord")
else:
self.logger.debug("Chat channel not set. Skipping sending chat message to Discord")
def get_task(self):
return self.bot.loop.create_task(self.establish_websocket_connection(), name="Pterodactyl Websocket Connection")