Answers for "python how to code discord bot kick members"

0

python how to code discord bot kick members

@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.')
Posted by: Guest on September-10-2021

Code answers related to "python how to code discord bot kick members"

Python Answers by Framework

Browse Popular Code Answers by Language