mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 02:36:11 +10:00
safeimage stuff
This commit is contained in:
@@ -7,6 +7,7 @@ module.exports = {
|
||||
if (msg.author.bot) return
|
||||
if (msg.attachments.array().length = 0) return
|
||||
var img = msg.attachments.first()
|
||||
if (img == undefined) return
|
||||
if (img.height == undefined) return
|
||||
if (msg.channel.nsfw) return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user