mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
don't trust ai
This commit is contained in:
+1
-2
@@ -20,7 +20,6 @@ from latex_functions import (
|
||||
class LatexModule(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot, logger_name: str):
|
||||
self.bot = bot
|
||||
import logging
|
||||
self.logger = logging.getLogger(logger_name)
|
||||
|
||||
# -------- /tex (PDF + diagnoza; log -> debug logger) --------
|
||||
@@ -131,5 +130,5 @@ class LatexModule(commands.Cog):
|
||||
|
||||
async def setup(bot):
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user