Created
August 7, 2020 09:47
-
-
Save AlexzanderFlores/83dcc74c3b1867b928683002abf2db41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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}>`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AlexzanderFlores sadsad