Python Cómo codificar los miembros de Discord Bot Kick

@bot.command()
async def kick(ctx, member: discord.Member, *, reason=None):
    await member.kick(reason=reason)
    await ctx.send(f'User {member} has been kicked from the server.')
Thecodecopyer