Endercat1011 Endercat1011
  • 18-11-2018
  • Computers and Technology
contestada

let userblock = ["", "", ""]
if(message.author.id === userblock) {
//code
}



HELP PLZ I NEED A DISCORD.JS COMMAND FOR BLACK LISTING USERS ASAP ;-;

Respuesta :

dgeorge19
dgeorge19 dgeorge19
  • 18-11-2018

Put the ids of the users you want to blacklist in an array, then check them with

if(userblock.includes(message.author.id))

{

//code

}

Answer Link

Otras preguntas

What is one of the main implicit messages of "The Lady, or the Tiger”?
Which dynasty​ conquered the​ Mongols and took ​ back the land of ​ China?​
Find the product of 346 and 73.
4) Chelsea has homework in six subjects. She is deciding what order to complete them in
Find the values of x, y, and z
can someone do a new zoom dont ask questions
how would a decrease in the available sunlight affect the number and size of trophic levels in an ecosystem?
Michelle and Pierre both want to buy guitars, Michelle has already saved $60, and plans to save $5 per week until she can buy the guitar, Pierre has $25, and pl
She didn't see him either. (into affirmative)​
what are the characteristics of a state?