Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js arguments

//Seperate Arguments
let seperateArgs = args[0]; //0 being the first argument
//Input "hello world"
//Output "hello"

//Full Arguments
let fullArgs = args.slice(0).join(' ');
//Input "hello world"
//Output "hello world"
 
PREVIOUS NEXT
Tagged: #arguments
ADD COMMENT
Topic
Name
3+5 =