#How can I get the removed/added roles from an AuditLogEventType of member_roles_update?

1 messages · Page 1 of 1 (latest)

gray wolfBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

fresh frost
#

try checking out the GUILD_AUDIT_LOG_ENTRY_CREATE event, that should give you back an AuditLogEntry object.

you can use that information from there and compare with your other event. the changes and target_id attributes will help you figure out what was added/removed specifically

fresh frost
#

as mentioned, look at target_id