discord python bot how to change someone 27s nickname

Solutions on MaxInterview for discord python bot how to change someone 27s nickname by the best coders in the world

showing results for - "discord python bot how to change someone 27s nickname"
Ilona
03 Feb 2016
1@client.command(pass_context=True)
2async def chnick(ctx, member: discord.Member, *,nick):
3    await member.edit(nick=nick)
4    await ctx.send(f'Nickname was changed for {member.mention} ')
5