Add Pterodactyl cog #19

Merged
cswimr merged 139 commits from pterodactyl into main 2024-03-02 00:07:42 -05:00
Showing only changes of commit a791c27fc3 - Show all commits

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")