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

CustomBot with full reload

This commit is contained in:
ddorn
2020-04-30 17:26:33 +02:00
parent 3bfad6e0a9
commit 3b9f4aae95
9 changed files with 149 additions and 34 deletions

View File

@ -59,6 +59,8 @@ class Role:
class Emoji:
JOY = "😂"
SOB = "😭"
BIN = "🗑️"
DICE = "🎲"
class File:
@ -71,3 +73,8 @@ class File:
with open(File.TOP_LEVEL / "data" / "problems") as f:
PROBLEMS = f.read().splitlines()
MAX_REFUSE = len(PROBLEMS) - 4 # -5 usually but not in 2020 because of covid-19
def setup(bot):
# Just so we can reload the constants
pass