Here is the code:
const Discord = require('discord.js');
const client = new Discord.Client()
const KeepClientOn = require('./KeepClientOn.js')
client.on("message", function(message) {
message.reply('my message');
})
client.login('client login')
after the message is replied I want there to be a 5 minute delay before it can reply again BUT not reply to any messages sent before then. Here is pretty much what I want: Me: hi Bot: my message Me (2 minutes later): hi again Bot: (Sends nothing) 5 minutes later: Me: Hello once again Bot: my message
(Sorry for so much stuff)