Shmuelley
DIAdiscord.js - Imagine an app
•Created by Shmuelley on 2/11/2025 in #djs-questions
newState.serverDeaf get the user who did it
I solved it. If it is needed by anybody else, I used:
const auditLog = await guild.fetchAuditLogs().then(audit => audit.entries.first());
const executor = auditLog.executor;
The executor
constant works the same as the user property does.
You may use tag, id, username and so on.
executor.id
would return the id of the user who executed this event.3 replies
DIAdiscord.js - Imagine an app
•Created by HK on 2/8/2025 in #djs-questions
Embed Field Emojis too long
Send them together in different embeds
5 replies