which permisson i need
i have this event handler but it requires intent but it only works when i give it admin i generally cant give it admin but which perm i need to give exactly
https://pastebin.com/vcp0cjY4
i am talking about automodactionexectution
what happens is when it dont have admin it runs another event of updatemember https://pastebin.com/mGZT8HxX
which shows me as timeout moderator but when i give it server insight perms it shows itself as timeout mod lmao idk what am i suppose to do
Pastebin
const fs = require('node:fs');const path = require('node:path');con...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
const { AuditLogEvent} = require('discord.js')const {users} = requ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
2 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!kafkawaa was timed out until 2024-09-19T18:34:49.283Z
Timeout moderator: Sip#7662
something like this
but with admin it WORKS
nahh idts cuz the event isnt getting called at all the AutoModerationActionExecution
i have some console logs for debugging
manage server?
aight yeah i also think that
lemme try it real quick