Latex incoming changes

This commit is contained in:
2025-08-16 17:54:06 +02:00
parent 6cc43ed16d
commit f0bd6c4015
4 changed files with 174 additions and 113 deletions
+4 -1
View File
@@ -3,6 +3,7 @@
from __future__ import annotations
import io
from typing import Optional, List
import logging
import discord
from discord import app_commands
@@ -128,5 +129,7 @@ class LatexModule(commands.Cog):
self.logger.debug("BATCH failed: %s", ", ".join(failed))
await interaction.followup.send("✅ Gotowe (ZIP w załączniku)." + (f" ❌ Błędy: {len(failed)}" if failed else ""), files=[discord.File(bio, filename=bio.name)])
async def setup(bot: commands.Bot):
async def setup(bot):
logger = logging.getLogger("discord")
await bot.add_cog(LatexModule(bot, logger_name="latex"))
logger.info("Loading kinky latex module done")