# Path: dozer/bot.py
# DOZER_LOGGER = logging.getLogger('dozer')


import asyncio
import gzip
import pickle
import traceback
import discord
import tbapi
from collections import OrderedDict
from functools import wraps
from discord.ext.commands import has_permissions
from fuzzywuzzy import fuzz
from dozer.bot import DOZER_LOGGER
from ._utils import *
from .. import db
    """

    @ng.command()
    @game_is_running
    async def addplayer(self, ctx):
        """Add players to the current game.
        Only works if the user is currently playing."""
        if ctx.channel.id not in self.games:
            await ctx.send(f"There's not a game going on! Start one with `{ctx.prefix}ng startround`")
            return
        game = self.games[ctx.channel.id]

        async with game.state_lock:
            added = False
            players = ctx.message.mentions or [ctx.author]
            for player in ctx.message.mentions:
                if player.bot:
                    await ctx.send(f"You can't invite bot users like {player.mention}!")
                    continue

                if player in game.removed_players:
                    await ctx.send(f"{player.mention} is already out of the game and can't be added back in.")
                elif player in game.players:
                    await ctx.send(f"{player.mention} is already in the game!")
                game.players[player] = 0
                added = True

            if not added:
                return
            await ctx.send(embed=game.create_embed(

# Path: dozer/bot.py
# DOZER_LOGGER = logging.getLogger('dozer')


# Path: dozer/cogs/namegame.py
import asyncio
import gzip
import pickle
import traceback
import discord
import tbapi
from collections import OrderedDict
from functools import wraps
from discord.ext.commands import has_permissions
from fuzzywuzzy import fuzz
from dozer.bot import DOZER_LOGGER
from ._utils import *
from .. import db

    """

    @ng.command()
    @game_is_running
    async def addplayer(self, ctx):
        """Add players to the current game.
        Only works if the user is currently playing."""
        if ctx.channel.id not in self.games:
            await ctx.send(f"There's not a game going on! Start one with `{ctx.prefix}ng startround`")
            return
        game = self.games[ctx.channel.id]

        async with game.state_lock:
            added = False
            players = ctx.message.mentions or [ctx.author]
            for player in ctx.message.mentions:
                if player.bot:
                    await ctx.send(f"You can't invite bot users like {player.mention}!")
                    continue

                if player in game.removed_players:
                    await ctx.send(f"{player.mention} is already out of the game and can't be added back in.")
                elif player in game.players:
                    await ctx.send(f"{player.mention} is already in the game!")
                game.players[player] = 0
                added = True

            if not added:
                return
            await ctx.send(embed=game.create_embed(

                title="Players have been added to the game.",