#How can i get the date of when a user was banned?

1 messages · Page 1 of 1 (latest)

true mesa
#

That's not as straight forward. You could loop through the logs, or log on ban

violet narwhal
#

Im going to try taking it from the audit log

true mesa
#

Yeah, audit logs. I was worried I didn't explained good enough

violet narwhal
#

when doing this, the user is the banned user or the mod?? ```ts
ban.guild.fetchAuditLogs({ type: "MEMBER_BAN_ADD", limit: 1, user: ?? })

true mesa
#

All properties are optional, including user

#

But it is about the user who made the action

#

The mod

violet narwhal
#

yes, but i want to take only 1 from a specific user

#

okay