2025-08-28 13:32:20 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2025-08-22 13:25:34 +00:00
|
|
|
import os
|
|
|
|
|
from dotenv import load_dotenv
|
|
|
|
|
|
|
|
|
|
load_dotenv()
|
|
|
|
|
|
|
|
|
|
# Token et channel autorisé
|
|
|
|
|
DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")
|
|
|
|
|
AUTHORIZED_CHANNEL_ID = int(os.getenv("AUTHORIZED_CHANNEL_ID"))
|
|
|
|
|
|
|
|
|
|
# Chemins
|
2025-08-26 17:35:54 +00:00
|
|
|
SCREENSHOTS_BASE_PATH = "/app/screenshots"
|
|
|
|
|
DATABASE_PATH = "/app/data/bot_data.db"
|
2025-08-22 13:25:34 +00:00
|
|
|
|
2026-05-18 08:38:01 +00:00
|
|
|
# Configuration des clans TEA - The Ember Accord
|
2025-08-22 13:25:34 +00:00
|
|
|
CLAN_CONFIG = {
|
2026-05-18 08:38:01 +00:00
|
|
|
'TEAI': {'name': 'TEAI', 'full_name': 'Inferno', 'emoji': '🔥', 'color': 0xff4500},
|
|
|
|
|
'TEAF': {'name': 'TEAF', 'full_name': 'Flame', 'emoji': '🛡️', 'color': 0x00ff00},
|
|
|
|
|
'TEAC': {'name': 'TEAC', 'full_name': 'Cinder', 'emoji': '⚔️', 'color': 0x1e90ff},
|
|
|
|
|
'TEACO': {'name': 'TEACO', 'full_name': 'Corrupted Olympians', 'emoji': '👑', 'color': 0x9932cc},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Mapping role Discord ID → clé de clan
|
|
|
|
|
CLAN_ROLE_IDS = {
|
|
|
|
|
1190674529731747901: 'TEAI',
|
|
|
|
|
1197646966599983185: 'TEAF',
|
|
|
|
|
1220014404809261076: 'TEAC',
|
|
|
|
|
1496965820868198550: 'TEACO',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Mapping anciens clans → nouveaux (migration base existante)
|
|
|
|
|
CLAN_MIGRATION = {
|
|
|
|
|
'RTF': 'TEAI',
|
|
|
|
|
'RTFC': 'TEAF',
|
|
|
|
|
'RTFR': 'TEAC',
|
2025-08-22 13:25:34 +00:00
|
|
|
}
|
|
|
|
|
|
2025-08-28 13:32:20 +00:00
|
|
|
# Configuration des boss avec difficultés
|
2025-08-22 13:25:34 +00:00
|
|
|
BOSS_CONFIG = {
|
2025-08-28 13:32:20 +00:00
|
|
|
'hydra': {'name': 'Hydra', 'emoji': '📍', 'color': 0xff6b35,
|
2025-08-22 13:25:34 +00:00
|
|
|
'difficulties': ['normal', 'hard', 'brutal', 'nightmare']},
|
2025-08-28 13:32:20 +00:00
|
|
|
'chimera': {'name': 'Chimera', 'emoji': '🦁', 'color': 0x9932cc,
|
2025-08-22 13:25:34 +00:00
|
|
|
'difficulties': ['easy', 'normal', 'hard', 'brutal', 'nightmare', 'ultra']},
|
2025-08-28 13:32:20 +00:00
|
|
|
'cvc': {'name': 'Clan vs Clan', 'emoji': '✔️', 'color': 0xff0000, 'difficulties': []}
|
2025-08-22 13:25:34 +00:00
|
|
|
}
|
|
|
|
|
|
2025-08-28 13:32:20 +00:00
|
|
|
# Mappings pour diminutifs de difficultés
|
2025-08-22 13:25:34 +00:00
|
|
|
DIFFICULTY_SHORTCUTS = {
|
|
|
|
|
'nm': 'nightmare',
|
|
|
|
|
'unm': 'ultra'
|
2025-08-28 13:32:20 +00:00
|
|
|
}
|