Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

settimeout javascript

setTimeout(function(){
 	//Insert code here. Here is an example using discord.js
 	message.channel.send("Waited 5 seconds before sending this message.");
}, 5000); //Waits 5 seconds before executing the function/code.
//Code by: @NickIsNotADev#3506 on Discord.
Source by blog.risingstack.com #
 
PREVIOUS NEXT
Tagged: #settimeout #javascript
ADD COMMENT
Topic
Name
7+6 =