mirror of
https://gitlab.com/ddorn/tfjm-discord-bot.git
synced 2024-11-26 22:47:07 +00:00
✨ add tfjm.org token + FAN_CLUBS ids
This commit is contained in:
parent
ef8144a115
commit
53370fbcb6
@ -3,13 +3,16 @@ from pathlib import Path
|
|||||||
from time import time
|
from time import time
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"TOKEN",
|
"DISCORD_TOKEN",
|
||||||
|
"TFJM_TOKEN",
|
||||||
"Role",
|
"Role",
|
||||||
"PROBLEMS",
|
"PROBLEMS",
|
||||||
"MAX_REFUSE",
|
"MAX_REFUSE",
|
||||||
"ROUND_NAMES",
|
"ROUND_NAMES",
|
||||||
"TEAMS_CHANNEL_CATEGORY",
|
"TEAMS_CHANNEL_CATEGORY",
|
||||||
"DIEGO",
|
"DIEGO",
|
||||||
|
"ANANAS",
|
||||||
|
"FAN_CLUBS",
|
||||||
"BOT",
|
"BOT",
|
||||||
"TOURNOIS",
|
"TOURNOIS",
|
||||||
"EMBED_COLOR",
|
"EMBED_COLOR",
|
||||||
@ -20,9 +23,11 @@ __all__ = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
TOKEN = os.environ.get("TFJM_DISCORD_TOKEN")
|
DISCORD_TOKEN = os.environ.get("TFJM_DISCORD_TOKEN")
|
||||||
|
TFJM_TOKEN = os.environ.get("TFJM_ORG_TOKEN")
|
||||||
|
|
||||||
if TOKEN is None:
|
|
||||||
|
if DISCORD_TOKEN is None:
|
||||||
print("No token for the bot were found.")
|
print("No token for the bot were found.")
|
||||||
print("You need to set the TFJM_DISCORD_TOKEN variable in your environement")
|
print("You need to set the TFJM_DISCORD_TOKEN variable in your environement")
|
||||||
print("Or just run:")
|
print("Or just run:")
|
||||||
@ -33,6 +38,11 @@ if TOKEN is None:
|
|||||||
|
|
||||||
GUILD = "690934836696973404"
|
GUILD = "690934836696973404"
|
||||||
DIEGO = 430566197868625920 # Mon id
|
DIEGO = 430566197868625920 # Mon id
|
||||||
|
ANANAS = 619132180408303616
|
||||||
|
FAN_CLUBS = {
|
||||||
|
DIEGO: 706586020841259078,
|
||||||
|
ANANAS: 706586027535368223,
|
||||||
|
}
|
||||||
BOT = 703305132300959754
|
BOT = 703305132300959754
|
||||||
TEAMS_CHANNEL_CATEGORY = "Channels d'équipes 2"
|
TEAMS_CHANNEL_CATEGORY = "Channels d'équipes 2"
|
||||||
EMBED_COLOR = 0xFFA500
|
EMBED_COLOR = 0xFFA500
|
||||||
|
Loading…
Reference in New Issue
Block a user