Update players.py

Updated error message when players don't give domo edit perms
This commit is contained in:
Cal Corum 2023-08-19 01:04:51 -05:00
parent dc1146e9e9
commit 46948eaa83

View File

@ -1541,7 +1541,8 @@ class Players(commands.Cog):
except Exception as e: except Exception as e:
logging.error(f'could not freeze sheet for game {this_game["id"]}') logging.error(f'could not freeze sheet for game {this_game["id"]}')
await interaction.edit_original_response( await interaction.edit_original_response(
content='I was not able to freeze the rosters in your sheet, but everything else went through.' content='You didn\'t give me edit perms so I couldn\'t lock the rosters in your sheet, '
'but everything else went through.'
) )
@app_commands.command(name='branding', description='Update your team branding') @app_commands.command(name='branding', description='Update your team branding')