discord py take in member object code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: kick member discord py
# Might Work...
@bot.command(pass_context = True)
async def kick(ctx, userName: discord.User):
await bot.kick(userName)