GuildMember#setNickname api is always getting permissions missing

Comentários

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.

    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

Por favor, entrar para comentar.