Answers for "how to get id of a command discord.js"

10

discord.js get user by id

client.users.cache.find(user => user.id === 'USER-ID')
Posted by: Guest on October-20-2020
0

how to get id of the server discord js bot

let server = message.guild.id, // ID of the guild the message was sent in
  channel = message.channel.id // ID of the channel the message was sent in
Posted by: Guest on May-20-2021

Code answers related to "how to get id of a command discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language