All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 12s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
51 lines
1.7 KiB
Python
51 lines
1.7 KiB
Python
# -*- coding: utf-8 -*-
|
|
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
|
|
SCREENSHOTS_BASE_PATH = "/app/screenshots"
|
|
DATABASE_PATH = "/app/data/bot_data.db"
|
|
|
|
# Configuration des clans TEA - The Ember Accord
|
|
CLAN_CONFIG = {
|
|
'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 = {
|
|
1505856647744979004: 'TEAI',
|
|
1505856725490733056: 'TEAF',
|
|
1505856808361656370: 'TEAC',
|
|
1505856914439929856: 'TEACO',
|
|
}
|
|
|
|
# Mapping anciens clans → nouveaux (migration base existante)
|
|
CLAN_MIGRATION = {
|
|
'RTF': 'TEAI',
|
|
'RTFC': 'TEAF',
|
|
'RTFR': 'TEAC',
|
|
}
|
|
|
|
# Configuration des boss avec difficultés
|
|
BOSS_CONFIG = {
|
|
'hydra': {'name': 'Hydra', 'emoji': '📍', 'color': 0xff6b35,
|
|
'difficulties': ['normal', 'hard', 'brutal', 'nightmare']},
|
|
'chimera': {'name': 'Chimera', 'emoji': '🦁', 'color': 0x9932cc,
|
|
'difficulties': ['easy', 'normal', 'hard', 'brutal', 'nightmare', 'ultra']},
|
|
'cvc': {'name': 'Clan vs Clan', 'emoji': '✔️', 'color': 0xff0000, 'difficulties': []}
|
|
}
|
|
|
|
# Mappings pour diminutifs de difficultés
|
|
DIFFICULTY_SHORTCUTS = {
|
|
'nm': 'nightmare',
|
|
'unm': 'ultra'
|
|
}
|