Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js reading json object from json

// JSON File:
["Your Name 1","Your Name 2"]
// JavaScript File
const object = names.json;
if(objects.toLocalString().includes('Your Name 1')) {
	console.log(true);
} else	{
	console.log(false);
}
 
PREVIOUS NEXT
Tagged: #reading #json #object #json
ADD COMMENT
Topic
Name
4+7 =