forked from cswimr/SeaCogs
fix(pterodactyl): fixed broken debug statement
This commit is contained in:
parent
07e2497aac
commit
a791c27fc3
1 changed files with 2 additions and 1 deletions
|
@ -143,6 +143,7 @@ class Pterodactyl(commands.Cog):
|
||||||
webhook = await channel.create_webhook(name="Pterodactyl Chat")
|
webhook = await channel.create_webhook(name="Pterodactyl Chat")
|
||||||
await webhook.send(content=message, username=username, avatar_url=avatar_url)
|
await webhook.send(content=message, username=username, avatar_url=avatar_url)
|
||||||
self.logger.debug("Chat message sent to Discord")
|
self.logger.debug("Chat message sent to Discord")
|
||||||
|
else:
|
||||||
self.logger.debug("Chat channel not set. Skipping sending chat message to Discord")
|
self.logger.debug("Chat channel not set. Skipping sending chat message to Discord")
|
||||||
|
|
||||||
def get_task(self):
|
def get_task(self):
|
||||||
|
|
Loading…
Reference in a new issue