Getting the deleter of a deleted message
Hi, I'm trying to get the deleter of a deleted message using
.fetchAuditLogs()
and .entries.first()
, but sometimes they don't work...
If I were to create a message and delete it, it would show me as the deleter. If I then created a message and then someone else deleted it, it would still show me as the deleter. Then, eventually it would switch and then always show the other person as the deleter.
(I tried asking in the DiscordJS server but they always say I'm wrong and don't actually help 😔)Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.
2.2KMembers
View on DiscordWant results from more Discord servers?
More PostsIssue registering command on a specific guild using guildIdsHello, I am having some issues trying to register a slash command to a specific guild. I have this "Subfolders Inside Commands FolderCan i put the commands inside subfolders in commands folder ?
example command path :
commands/publMake a button executable only by the command executerHello, I want to make a button only executable only by the person who ran it.
For example, if personEncountering Error `TypeError: emitter.getMaxListeners is not a function`Happens as soon as I run the code. I am using ts-node so I have no idea if this is the reason why.