block incr
This commit is contained in:
+2
-2
@@ -187,7 +187,6 @@ async def end_game(ctx):
|
||||
value=f"**{game.last_player_name}** - Từ cuối: **{game.current_word}**",
|
||||
inline=False
|
||||
)
|
||||
await incr(game.last_player_id, game.last_player_name, 1)
|
||||
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
@@ -293,7 +292,8 @@ async def game_timeout():
|
||||
value=f"**{game.last_player_name}** - Từ cuối: **{game.current_word}**",
|
||||
inline=False
|
||||
)
|
||||
await incr(game.last_player_id, game.last_player_name, 1)
|
||||
if len(game.used_words) > 2:
|
||||
await incr(game.last_player_id, game.last_player_name, 1)
|
||||
|
||||
if game.channel:
|
||||
await game.channel.send(embed=embed)
|
||||
|
||||
Reference in New Issue
Block a user