original_docstring: Country Name
  
      Add a player to the game as country
docstring: Country Name
  Add a player to the game as country
docstring_tokens: Country Name Add a player to the game as country
code: async def add(ctx):
      """Country Name
  
      Add a player to the game as country"""
      command, country, player = ctx.message.content.split(" ")
      if country in Country.__members__:
          member = discord.utils.find(lambda m: m.name == player, ctx.message.channel.server.members)
          if member != None:
              with session_scope() as session:
                  if session.query(Movelist).filter(Movelist.country == country).one_or_none() is None:
                      new_movelist = Movelist(country=country,
                                          playername=player,
                                          discord_id=member.id,
                                          moveset=None)
                      session.add(new_movelist)
                      userlist.append(member)
                      await bot.say('Player added')
                  else:
                      await bot.say('That country has already been allocated')
          else:
              await bot.say('Invalid Player')
      else:
          await bot.say('Invalid Country')
code_tokens: async def add ( ctx ) : command , country , player = ctx . message . content . split ( " " ) if country in Country . __members__ : member = discord . utils . find ( lambda m : m . name == player , ctx . message . channel . server . members ) if member != None : with session_scope ( ) as session : if session . query ( Movelist ) . filter ( Movelist . country == country ) . one_or_none ( ) is None : new_movelist = Movelist ( country = country , playername = player , discord_id = member . id , moveset = None ) session . add ( new_movelist ) userlist . append ( member ) await bot . say ( 'Player added' ) else : await bot . say ( 'That country has already been allocated' ) else : await bot . say ( 'Invalid Player' ) else : await bot . say ( 'Invalid Country' )
short_docstring: Country Name
  Add a player to the game as country
short_docstring_tokens: Country Name Add a player to the game as country
comment: """Country Name
  
      Add a player to the game as country"""