From 53370fbcb638bf07ba146c3c1e7b07ebbb8a68b8 Mon Sep 17 00:00:00 2001 From: ddorn Date: Sat, 16 May 2020 12:49:28 +0200 Subject: [PATCH] :sparkles: add tfjm.org token + FAN_CLUBS ids --- src/constants.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/constants.py b/src/constants.py index 997fe01..318de88 100644 --- a/src/constants.py +++ b/src/constants.py @@ -3,13 +3,16 @@ from pathlib import Path from time import time __all__ = [ - "TOKEN", + "DISCORD_TOKEN", + "TFJM_TOKEN", "Role", "PROBLEMS", "MAX_REFUSE", "ROUND_NAMES", "TEAMS_CHANNEL_CATEGORY", "DIEGO", + "ANANAS", + "FAN_CLUBS", "BOT", "TOURNOIS", "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("You need to set the TFJM_DISCORD_TOKEN variable in your environement") print("Or just run:") @@ -33,6 +38,11 @@ if TOKEN is None: GUILD = "690934836696973404" DIEGO = 430566197868625920 # Mon id +ANANAS = 619132180408303616 +FAN_CLUBS = { + DIEGO: 706586020841259078, + ANANAS: 706586027535368223, +} BOT = 703305132300959754 TEAMS_CHANNEL_CATEGORY = "Channels d'équipes 2" EMBED_COLOR = 0xFFA500