on-internet
← Community

How to log deleted images with a discord bot

Stack Overflow ·

I have been spending hours trying to get this code to log deleted images but everything I have tried its been nothing but fails, it logs deleted messages but images it just ignores completely. Can someone please point me in the right direction on how to fix this issue, please. Any help is very much appreciated const Discord = require('discord.js') module.exports = async (client, message) => { if (!message.guild) return; if (!message.content) return; const logs = message.guild.channels.find(c => c.name === '420-logs'); if (!logs) { return console.log(`[WARN]: The Delete Logs channel does not ex

Comments

Sign in or sign up to comment and upvote.

No comments yet.