From 4b034f6cdda914e5c43ff9e5e1bb1be7c55ac883 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Tue, 25 Apr 2023 02:57:35 -0500 Subject: [PATCH] Update economy.py typo + pack limit for new teams --- cogs/economy.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cogs/economy.py b/cogs/economy.py index 8a9d77d..d877001 100644 --- a/cogs/economy.py +++ b/cogs/economy.py @@ -1121,13 +1121,15 @@ class Economy(commands.Cog): anchor_all_stars = db_get( 'players/random', params=[ - ('min_rarity', 3), ('max_rarity', 3), ('franchise', team_choice), ('pos_exclude', 'RP'), ('limit', 1) + ('min_rarity', 3), ('max_rarity', 3), ('franchise', team_choice), ('pos_exclude', 'RP'), ('limit', 1), + ('in_packs', True) ] ) anchor_starters = db_get( 'players/random', params=[ - ('min_rarity', 2), ('max_rarity', 2), ('franchise', team_choice), ('pos_exclude', 'RP'), ('limit', 2) + ('min_rarity', 2), ('max_rarity', 2), ('franchise', team_choice), ('pos_exclude', 'RP'), ('limit', 2), + ('in_packs', True) ] ) if not anchor_all_stars: @@ -1500,9 +1502,9 @@ class Economy(commands.Cog): conf_message = f'Alright, your sheet is linked to your team - good luck' if owner_team == team: - conf_message += 'this season!' + conf_message += ' this season!' else: - conf_message += 'on your run!' + conf_message += ' on your run!' conf_message += f'\n\n{HELP_SHEET_SCRIPTS}' await response.edit(content=f'{conf_message}')