Audit log event 12 get guild

I have the d.js release "main", i do not know which version it is, but i think it is v14, https://replit.com/@OttiOtta/HelperBot#index.js my code, there is no bug, but but a question, in index.js, i have an automod based on audit log, and i need the guild object/id to make punishments. How to get the guild object from audit log events is the question.
OttiOtta
replit
HelperBot
Run Node.js (Beta) code live in your browser. Write and run code in 50+ languages online with Replit, a powerful IDE, compiler, & interpreter.
3 Replies
d.js toolkit
d.js toolkit15mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
chewie
chewie15mo ago
The event emits with the auditLogEntry and a guild object
d.js docs
d.js docs15mo ago
event (event) Client#guildAuditLogEntryCreate Emitted whenever a guild audit log entry is created.
Want results from more Discord servers?
Add your server