fixed random game end cards for real this time (probably)

This commit is contained in:
Sakimori 2021-01-04 20:23:32 -05:00
parent 759f274efc
commit 6235564622

View File

@ -1123,7 +1123,7 @@ async def game_watcher():
game, channel, user, key = this_array[i] game, channel, user, key = this_array[i]
if game.over and main_controller.master_games_dic[key][1]["end_delay"] <= 9: if game.over and main_controller.master_games_dic[key][1]["end_delay"] <= 9:
final_embed = game_over_embed(game) final_embed = game_over_embed(game)
if user is isinstance(user, str): if isinstance(user, str):
await channel.send(f"A game started by {user} just ended.") await channel.send(f"A game started by {user} just ended.")
elif user is not None: elif user is not None:
await channel.send(f"{user.mention}'s game just ended.") await channel.send(f"{user.mention}'s game just ended.")