Update economy.py

Add Team Choice packs with pre-selected teams to /open-packs
This commit is contained in:
Cal Corum 2023-04-30 14:26:23 -05:00
parent fe06773c20
commit 6b4e2de0ea

View File

@ -578,6 +578,8 @@ class Economy(commands.Cog):
p_group = f'Standard-Team-{pack["pack_team"]["id"]}-{pack["pack_team"]["sname"]}'
elif pack['pack_type']['name'] == 'Premium':
p_group = f'Premium-Team-{pack["pack_team"]["id"]}-{pack["pack_team"]["sname"]}'
elif pack['pack_type']['name'] == 'Team Choice':
p_group = f'Team Choice-Team-{pack["pack_team"]["id"]}-{pack["pack_team"]["sname"]}'
elif pack['pack_cardset'] is not None:
if pack['pack_type']['name'] == 'Standard':