4 Replies
- 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!And is this correct?
that just looks like a regular embed
you shouldn't need to do this
client.channels.fetch(logsChannel);
if (!channel) return;
since channels are cached on start if you have the guilds intent
It depends on which information you want to show on the embed, can't help further since i can't see the relation between fetching audit logs and channel / role permissions (which are the ones showing on the image)Hey! So i like do something like this:
So i use fetchAuditLogs to send a message in embed, which will contain a Moderator mention (the person who edited it)
Hm.. Okay, how can I solve this in the simplest way? I'm sorry, but I am beginner and i use AI (like bard or chatgpt) to help, so this explains why some properties don't exist
I prefer the cheapest way, but.. I don't known how to catch properly event of channel Owerwriting. What should I do?