GuildMember#setNickname api is always getting permissions missing

Comments

3 comments

  • Maisy

    That could still happen if the person who's name you're trying to change has a higher role than your bot.

    0
  • 0nepeop1e

    But how the permissions level was defined? i tried with every non admin role but some can some cannot

    0
  • Asqry

    Also has nothing to do with the API itself. Discord.js has their own separate issues tab on the official github.

    https://github.com/discordjs/discord.js/issues

     

    edit: make sure the bot's role is higher than every role in the list. Also, the bot cannot change the owner of the server's nickname in my experience. 

    0

Please sign in to leave a comment.