![]() If discord.js isn't defined, add this, if it is, don't.īot.on("messageDelete", async (messageDelete) => `) Ĭonst DeleteChannel = (x => x. leveling, games, and logging How can i set custom status in discord bot. I then want the bot to delete the Help user command after its use So it looks like the bot decided to send the command without. Dyno is a feature-rich and modular discord bot for your Discord server. You can also use it as a role bot for Discord and set custom reaction. 100% determine if the message deleted matches the fetched audit log due to Discord not including the message ID in audit logs if ('Help): await ('This is the help tab') Me -> 'Help' See if the author deleted their own message (Discord does not log this either).See which bot deleted a message as Discord does not log message deletions for bots.However I made a way to somewhat do this with minimal possible mistakes made.ĭo note these are impossible at the time of writing this and will return 'Unknown': There is no smooth and accurate way to do this as correctly pointed out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |