GuildMember#setNickname api is always getting permissions missing


3 comentários

  • Rodentman87

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

  • 0nepeop1e

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

  • Asqry

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


    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. 


Por favor, entrar para comentar.