Update gameplay.py
Add Flashback descriptor to scorebugs
This commit is contained in:
parent
51fe57eac6
commit
5e89c898e6
@ -71,7 +71,9 @@ class Gameplay(commands.Cog):
|
||||
elif x.game_type == 'hall-of-fame':
|
||||
gt_string = 'Hall of Fame'
|
||||
elif 'gauntlet' in x.game_type:
|
||||
gt_string = 'Gauntlet Game' # Adding spacing; discord is collapsing markdown on itself
|
||||
gt_string = 'Gauntlet'
|
||||
elif x.game_type == 'flashback':
|
||||
gt_string = 'Flashback'
|
||||
embed.add_field(
|
||||
name=f'{gs["away_team"]["sname"]} @ {gs["home_team"]["sname"]} - {gt_string}',
|
||||
value=g_message,
|
||||
@ -360,6 +362,8 @@ class Gameplay(commands.Cog):
|
||||
gt_string = ' - Hall of Fame'
|
||||
elif 'gauntlet' in game.game_type:
|
||||
gt_string = ' - Gauntlet'
|
||||
elif 'flashback' in game.game_type:
|
||||
gt_string = ' - Flashback'
|
||||
|
||||
embed = discord.Embed(
|
||||
title=f'{game_state["away_team"]["sname"]} @ {game_state["home_team"]["sname"]}{gt_string}',
|
||||
@ -1978,6 +1982,8 @@ class Gameplay(commands.Cog):
|
||||
game_des = 'Minor League'
|
||||
elif this_game.game_type == 'hall-of-fame':
|
||||
game_des = 'Hall of Fame'
|
||||
elif this_game.game_type == 'flashback':
|
||||
game_des = 'Flashback'
|
||||
elif this_game.ranked:
|
||||
game_des = 'Ranked'
|
||||
elif 'gauntlet' in this_game.game_type:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user