#Why does this code not work?const user = message.mentions.members.first()channel.permissionOverwri

2 messages · Page 1 of 1 (latest)

solemn vine
#

Why does this code not work?
const user = message.mentions.members.first()
channel.permissionOverwrites.edit(user, {
VIEW_CHANNEL: true
})
When I check permissions, the user isnt given permission to view_channel.

However, when i do the same code but for SEND_MESSAGES: true, it lets them send messages.

lunar bane
#

This is not a Railway-related question.