Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how can i add multiple arguments in discord,js

If you want to take input from the users multiple times then use collecters 

for example : 
  bot send message : please add an Channel ID 
  user send an ID
  bot again send message : please add an author and so 
  
  After all the questions you want to collect data add it to your variables 
  then use collectors. 
  
link : https://discordjs.guide/popular-topics/collectors.html#message-collectors
 
PREVIOUS NEXT
Tagged: #add #multiple #arguments
ADD COMMENT
Topic
Name
8+5 =