intervalCommand

Executing Code Every Second/Minute

Usage

bot.intervalCommand({
jid: "", // Group/User Jid
code: "",
every: 15000, // Execution Time In Milliseconds
executeOnStartUp: true/false // Executing Code When Bot Online
})
โ—

Sending Messages Too Fast Will Make Bots Affected by Rate Limits!

Example

bot.intervalCommand({
jid: "User/Group Jid",
code: "Hello I'm Using Whatscode.js",
every: 15000, // Execution Time In Milliseconds
executeOnStartUp: true // Executing Code When Bot Online
})