Simplify is_div_week logic and end all weeks with day game
This commit is contained in:
parent
cebe2d3842
commit
83e3cbd081
@ -618,13 +618,11 @@ class Transactions(commands.Cog):
|
||||
elif current['week'] > 14:
|
||||
season_str = f'\U0001F342 **Fall**'
|
||||
|
||||
is_div_week = False
|
||||
if current['week'] in [1, 3, 6, 14, 16, 18]:
|
||||
is_div_week = True
|
||||
is_div_week = current['week'] in [1, 3, 6, 14, 16, 18]
|
||||
|
||||
weekly_str = f'**Season**: {season_str}\n' \
|
||||
f'**Time of Day**: {night_str} / {night_str if is_div_week else day_str} / ' \
|
||||
f'{night_str} / {night_str if is_div_week else day_str}'
|
||||
f'{night_str} / {day_str}'
|
||||
|
||||
await info_channel.send(
|
||||
content=f'Each team has manage permissions in their home ballpark. They may pin messages and rename the '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user