don't trust ai

This commit is contained in:
2025-08-16 18:19:11 +02:00
parent 2fa4771b54
commit 3126ad5266
+1 -2
View File
@@ -20,7 +20,6 @@ from latex_functions import (
class LatexModule(commands.Cog): class LatexModule(commands.Cog):
def __init__(self, bot: commands.Bot, logger_name: str): def __init__(self, bot: commands.Bot, logger_name: str):
self.bot = bot self.bot = bot
import logging
self.logger = logging.getLogger(logger_name) self.logger = logging.getLogger(logger_name)
# -------- /tex (PDF + diagnoza; log -> debug logger) -------- # -------- /tex (PDF + diagnoza; log -> debug logger) --------
@@ -131,5 +130,5 @@ class LatexModule(commands.Cog):
async def setup(bot): async def setup(bot):
logger = logging.getLogger("discord") logger = logging.getLogger("discord")
await bot.add_cog(LatexModule(bot, logger_name="latex")) await bot.add_cog(LatexModule(bot, logger_name="discord"))
logger.info("Loading kinky latex module done") logger.info("Loading kinky latex module done")