Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check if a message has an attachment discord js

if (<Message>.attachments.size > 0) {
  //DO STUFF
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #message #attachment #discord #js
ADD COMMENT
Topic
Name
7+2 =