1
0
mirror of https://gitlab.com/ddorn/tfjm-discord-bot.git synced 2025-07-09 10:10:20 +02:00

status command

This commit is contained in:
ddorn
2020-04-29 16:27:40 +02:00
parent 8c5b4ec59f
commit 99b9fa091a
3 changed files with 40 additions and 6 deletions

View File

@ -13,8 +13,12 @@ __all__ = [
"TEAMS_CHANNEL_CATEGORY",
"DIEGO",
"TOURNOIS",
"EMBED_COLOR",
"START_TIME",
]
from time import time
TOKEN = os.environ.get("TFJM_DISCORD_TOKEN")
if TOKEN is None:
@ -64,3 +68,6 @@ JOKES_FILE = TOP_LEVEL_DIR / "data" / "jokes"
with open(TOP_LEVEL_DIR / "data" / "problems") as f:
PROBLEMS = f.read().splitlines()
MAX_REFUSE = len(PROBLEMS) - 4 # -5 usually but not in 2020 because of covid-19
EMBED_COLOR = 0xFFA500
START_TIME = time()