How do you get the @here role?
Things I tried:
@here (doesn't ping)I don't see it in the documentation anywhere but it's really hard to search since search engines ignore the @
@here is not a role. It simply mentions @everyone but only pings everyone online. You would need to use the everyone role.
const role = interaction.guild.roles.everyone
Note, the everyone role ID is the same as the guild ID, so for things like overwrite editing, you should use the guild ID
await channel.permissionOverwrites.edit(interaction.guild.id, {
SEND_MESSAGES: false
})