Discord-Raid-bot/config.py
LE BERRE Mickael 6621599fc6
All checks were successful
Deploy Bot on NAS / deploy (push) Successful in 29s
i18n: translate all French comments, docstrings and logs to English
discord.py's built-in !help command exposes cog docstrings directly to
Discord members — leaving them in French made the output partially French.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 13:56:36 +02:00

51 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
import os
from dotenv import load_dotenv
load_dotenv()
# Token and authorized channel
DISCORD_TOKEN = os.getenv("DISCORD_TOKEN")
AUTHORIZED_CHANNEL_ID = int(os.getenv("AUTHORIZED_CHANNEL_ID"))
# Paths
SCREENSHOTS_BASE_PATH = "/app/screenshots"
DATABASE_PATH = "/app/data/bot_data.db"
# TEA clan configuration - 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},
}
# Discord role ID to clan key mapping
CLAN_ROLE_IDS = {
1190674529731747901: 'TEAI',
1197646966599983185: 'TEAF',
1220014404809261076: 'TEAC',
1496965820868198550: 'TEACO',
}
# Old clan to new clan mapping (existing database migration)
CLAN_MIGRATION = {
'RTF': 'TEAI',
'RTFC': 'TEAF',
'RTFR': 'TEAC',
}
# Boss configuration with difficulties
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': []}
}
# Difficulty shortcut mappings
DIFFICULTY_SHORTCUTS = {
'nm': 'nightmare',
'unm': 'ultra'
}