Josh P Josh P - 1 year ago 1008
Javascript Question

How to use deleteMessage to get a Discord bot to clear a messge after () minutes

}, 120000);

Trying to get my bot to delete a message after () minutes of it being sent what would I use to do this. If needed, the library I used was

Answer Source

I suggest using this function in a setTimeout, like you currently have.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download