📅  最后修改于: 2022-03-11 14:47:21.787000             🧑  作者: Mango
@client.command(pass_context=True)
async def chnick(ctx, member: discord.Member, *,nick):
await member.edit(nick=nick)
await ctx.send(f'Nickname was changed for {member.mention} ')