Member timeout event?
I want to send an automatic message and save some data on a DB when a member get's timed out using the discord timeout function. Is there any event or something that I can use to catch those timeouts??
21 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
- Explain what exactly your issue is.
- Not a discord.js issue? Check out #useful-servers.
- Issue solved? Press the button!I searched Client events but there is none for this. At least on the old discordjs api
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
hmmm and it's there any way to check for info about the timeout? Moderator who timed out the user, time of the timeout...?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
No no, I mean, timed out for 1 day
Or 1 week...
Detailed info about the timeout
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Oh, that's enough
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Okee, I'll wait then. Thx a lot ^^
There is a warn event, for "general warnings". Which type of warnings?
I mean, ban and kick have their own event
There are no more warns or there are?
@xurxomfif mods manually times member, you can check it in audit logs. You can use guildAuditLogEntryCreate event instead of guildMemberUpdate for this and filter events by type
ohhhh thats good, I like it
Thx a lot ^^
okokok, thx a lot ^^
https://discord-api-types.dev/api/discord-api-types-v10/enum/AuditLogEvent
Type of the timeout? none of them it's called like that
discord-api-types documentation
discord-api-types - Imagine typings
discord-api-types is a simple Node/Deno module that brings up to date typings for Discord's API
I think it the 24 (https://discord-api-types.dev/api/discord-api-types-v10/enum/AuditLogEvent#MemberUpdate). To be honest, I can't say for sure
dw, I'll investigate
It need to be clarified by practice. I haven't any practice in it
Ok, that's enough for me ^^
Thx a lot <a:av_besitos:1114871486419832852>