Kelvin
Kelvin
DIAdiscord.js - Imagine an app
Created by Kelvin on 12/28/2023 in #djs-voice
Trying to delete messages that don't contain images and it's not deleting them
Yep
12 replies
DIAdiscord.js - Imagine an app
Created by Kelvin on 12/28/2023 in #djs-voice
Trying to delete messages that don't contain images and it's not deleting them
That doesn't work either
12 replies
DIAdiscord.js - Imagine an app
Created by Kelvin on 12/28/2023 in #djs-voice
Trying to delete messages that don't contain images and it's not deleting them
Sorry. Like this?
if (message.channel.id === '1189395457416376471') {
if (message.attachments.size === 0) {
message.delete();
}
}
if (message.channel.id === '1189395457416376471') {
if (message.attachments.size === 0) {
message.delete();
}
}
12 replies
DIAdiscord.js - Imagine an app
Created by Kelvin on 12/28/2023 in #djs-voice
Trying to delete messages that don't contain images and it's not deleting them
12 replies