I have a message I want our bot to send but, in order to keep the chat clean, I'd like to delete the message that invoked the command: how can I do this?
This is the current code for the message:
if (message.content.toLowerCase().includes("<@botsnumberidhere> what are the numbers")) {
message.channel.send("This is good, real good.", {
file: "https://domainforimage.com/image0.jpg" // Or replace with FileOptions object
});
}