added flag handler and converted all commands

This commit is contained in:
Sakimori 2021-03-26 17:38:03 -04:00
parent 5aca707c03
commit 66bd48a054
2 changed files with 276 additions and 333 deletions

View file

@ -5,6 +5,7 @@ from itertools import chain
from copy import deepcopy from copy import deepcopy
from games import team, game from games import team, game
from discord import Embed, Color from discord import Embed, Color
from uuid import uuid4
data_dir = "data" data_dir = "data"
league_dir = "leagues" league_dir = "leagues"
@ -514,7 +515,7 @@ class tournament(object):
self.day = None self.day = None
if id is None: if id is None:
self.id = random.randint(1111,9999) self.id = str(uuid4())
else: else:
self.id = id self.id = id

File diff suppressed because it is too large Load diff