Answers for "discord js check every x minutes"

0

discord js check every x minutes

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);
Posted by: Guest on January-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language