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

Which two parts of this online technical writing portfolio provide writing sample summaries?
A biologist studying trees constructed the confidence interval (0.14, 0.20) to estimate the proportion of trees in a large forest that are dead but still standi
Use the slope formula to find the slope of the line through the points (−1,−2) and (9,−10)
Which statement best explains the events shown on the timeline above? (
Pls helpp‍♀️..............
I am leaving brainly so free 100 points! I am doing more these so, don't worry if you didn't answer first.
Find PQ!!!!!!!!!!!!!!!!!!!!!!!
The causes of water pollution include___ (select all that apply) •oil spills •salinization •increase in rural populations •agriculture •increased precipitation
Please answer this correctly without making mistakes
Ms Hogan has more than 20 students in her class. when she divides the class into groups of 5, there are 4 students left over. when she divides the class into gr