Update players.py
Remove buttons from /clearinjury while command is running
This commit is contained in:
parent
98f0ac27ec
commit
920762e3ba
@ -957,6 +957,7 @@ class Players(commands.Cog):
|
||||
|
||||
if view.value:
|
||||
player['il_return'] = None
|
||||
await question.edit(content='Okay. Working on it...', view=None)
|
||||
if await patch_player(player['id'], il_return=False):
|
||||
await patch_current(injury_count=current['injury_count'] + 1)
|
||||
embed = get_team_embed(f'Injury Update', team=team)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user