added flag handler and converted all commands
This commit is contained in:
parent
5aca707c03
commit
66bd48a054
|
@ -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
|
||||||
|
|
||||||
|
|
606
the_prestige.py
606
the_prestige.py
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue