Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AlexzanderFlores/83dcc74c3b1867b928683002abf2db41 to your computer and use it in GitHub Desktop.
Save AlexzanderFlores/83dcc74c3b1867b928683002abf2db41 to your computer and use it in GitHub Desktop.
// Both are assuming you already have access to a channel variable
// Roles. You can get the ID from role.id
const roleId = '741229944927158315'
channel.send(`Hey <@&${roleId}>!`)
// Users. You can get the ID from member.id, user.id, etc.
const userId = '251120969320497152'
channel.send(`Hey <@${userId}>`)
@DentyTxR
Copy link

still works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment