mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +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):
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user