diff --git a/app/cogs/slashcommands/secondary/player_commands.py b/app/cogs/slashcommands/secondary/player_commands.py index c3cfad4..e24b4b5 100644 --- a/app/cogs/slashcommands/secondary/player_commands.py +++ b/app/cogs/slashcommands/secondary/player_commands.py @@ -148,7 +148,7 @@ class PlayerCommands(commands.Cog, name='Player Commands'): return await player.remove_roles(game, reason=f'`/player remove` command issued by {ctx.author.display_name}`.') t = lookup[guildStr][rStr]['time'] - if data[guildStr][t][rStr]['current_players'] <= 1: data[guildStr][t][rStr]['current_players'] = None + if data[guildStr][t][rStr]['current_players'] <= 1: data[guildStr][t][rStr]['current_players'] = 0 else: data[guildStr][t][rStr]['current_players'] -= 1 hm = data[guildStr][t][rStr]['header_message'] tc = discord.utils.find(lambda x: x.id == lookup[guildStr][rStr]['text_channel'],ctx.guild.channels)