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

How do you find the value of x?
"Thy fame is ancient as the days, As Ocean large and wide: A pride that dares, and heeds not praise, A stern and silent pride. Not that false joy that dreams co
which area in the United States has the highest average number of thunderstorms per year?A. Mid- Atlantic B. Southwestern C. Southeastern D. Northwestern
Cuantas decenas tiene el numero 34
Help!!!!!!! 10 pts.Describe one positive change that technology had on society in the years between the World Wars.
how were polytheism and ziggurats related in Sumerian civilization?
Completa la conversación con la palabra mejor. María: Sara, ¿cómo es el muchacho? Sara: Él es muy ___________. Siempre hace malas decisiones. A) chistoso B) sab
Solve the equation: |2 - 3x| = 7
Which of the following expressions are equivalent? A. 4√x ^ 3 B. 1 / x ^ −1 C. 10√x ^ 5 • x ^ 4 • x ^ 2 D. x ^ 1 / 3 • x ^ 1 / 3 • x ^ 1 / 3
Find the perimeter of this figure. All angles that look square are square. Dimensions are in meters.