title: My change-nickname command suddenly isn't working
body: <p>So I had this change nickname command that worked perfectly up until a few days ago, and I've been trying to figure out why it's not working, but I can't find what's wrong. Here is my code:</p>
  <pre><code>    @commands.command(aliases=['chnick'])
      @commands.has_permissions(manage_messages=True)
      async def change_nick(self, ctx, member: discord.Member, *, nick):
  
          await member.edit(nick=nick)
          await ctx.send(f&quot;Nickname for {member.mention} has been changed to {nick}&quot;)
  </code></pre>