Add Pterodactyl cog #19

Merged
cswimr merged 139 commits from pterodactyl into main 2024-03-01 23:07:42 -06:00
Showing only changes of commit de5d0194c8 - Show all commits

View file

@ -182,7 +182,7 @@ class Pterodactyl(commands.Cog):
await self.client._session.close() # pylint: disable=protected-access
@commands.Cog.listener()
async def on_message(self, message: discord.Message):
async def on_message_without_command(self, message: discord.Message):
if message.channel.id == await self.config.console_channel() and message.author.bot is False:
self.logger.debug("Received console command from %s: %s", message.author.id, message.content)
await message.channel.send(f"Received console command from {message.author.id}: {message.content[:1900]}")