Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord js setinterval

var checkminutes = 10, checkthe_interval = checkminutes * 60 * 1000; //This checks every 10 minutes, change 10 to whatever minute you'd like
setInterval(function() {
	message.channel.send("hello world");
  	//Or anything else
}, checkthe_interval);
 
PREVIOUS NEXT
Tagged: #discord #js #setinterval
ADD COMMENT
Topic
Name
6+9 =