adjusted some text in discord

This commit is contained in:
Sakimori 2021-01-15 06:00:51 -05:00
parent 363d58905e
commit 26ddaf7e5a

View File

@ -1317,7 +1317,7 @@ async def tourney_round_watcher(channel, tourney, games_list, filter_url, finals
next_start = (now + delta).replace(second=0, microsecond=0) next_start = (now + delta).replace(second=0, microsecond=0)
wait_seconds = (next_start - now).seconds wait_seconds = (next_start - now).seconds
await channel.send(f"The next batch of games for {tourney.name} will start in {math.ceil(wait_seconds/60)} minutes.") await channel.send(f"The next batch of games for the {tourney.name} will start in {math.ceil(wait_seconds/60)} minutes.")
await asyncio.sleep(wait_seconds) await asyncio.sleep(wait_seconds)
else: else:
await channel.send(f"The next batch of games for {tourney.name} will start in {int(tourney.delay/60)} minutes.") await channel.send(f"The next batch of games for {tourney.name} will start in {int(tourney.delay/60)} minutes.")
@ -1360,7 +1360,7 @@ async def tourney_round_watcher(channel, tourney, games_list, filter_url, finals
next_start = (now + delta).replace(second=0, microsecond=0) next_start = (now + delta).replace(second=0, microsecond=0)
wait_seconds = (next_start - now).seconds wait_seconds = (next_start - now).seconds
await channel.send(f"""This round of games for {tourney.name} is now complete! The next round will start in {math.ceil(wait_seconds/60)} minutes. await channel.send(f"""This round of games for the {tourney.name} is now complete! The next round will start in {math.ceil(wait_seconds/60)} minutes.
Advancing teams: Advancing teams:
{winners_string}""") {winners_string}""")
await asyncio.sleep(wait_seconds) await asyncio.sleep(wait_seconds)