Ajout d'un système de signalisation de bugs automatiser et manuel
This commit is contained in:
parent
99ab16098f
commit
88aa73cda9
9 changed files with 1345 additions and 7 deletions
14
bot.py
14
bot.py
|
|
@ -1,17 +1,18 @@
|
|||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
# Charger les variables d'environnement AVANT tout le reste
|
||||
load_dotenv()
|
||||
|
||||
import discord
|
||||
from commandes.ticket.utils.permissions import can_access_config
|
||||
from commandes.ticket.data.storage import get_storage
|
||||
from discord.ext import commands
|
||||
import os
|
||||
import asyncio
|
||||
from dotenv import load_dotenv
|
||||
from src.logger import kuby_logger, log_performance
|
||||
import logging
|
||||
from src.advanced_logger import AdvancedLogger
|
||||
|
||||
# Chargement des variables d'environnement
|
||||
load_dotenv()
|
||||
|
||||
# Récupération et validation de l'ID d'application
|
||||
application_id_raw = os.getenv("APPLICATION_ID")
|
||||
kuby_logger.debug(f"Raw APPLICATION_ID: {application_id_raw}")
|
||||
|
|
@ -63,7 +64,8 @@ class MyBot(commands.Bot):
|
|||
"commandes.modules_security.antiraid",
|
||||
"commandes.modules_security.logs_manager",
|
||||
"commandes.modules_security.rules",
|
||||
"commandes.ticket_whitelist"
|
||||
"commandes.ticket_whitelist",
|
||||
"commandes.bug_report"
|
||||
]
|
||||
|
||||
for extension in extensions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue