how to dectect image in message.content discord.js code example
Example: how to check if a message has an attachment discord js
if (<Message>.attachments.size > 0) {
//DO STUFF
}
if (<Message>.attachments.size > 0) {
//DO STUFF
}