Audit Log Trouble
Hello, I'm having an issue within the Audit Logs and would love some help. I'm not sure what's specifically going on but this is the best I can explain it.
1) I've saved the audit logs to my personal database.
2) I turned the bot off
3) I made a new channel called 'a'
4) I turned the bot back on and collected the new list of entries
5) I compared the new list of entries with the database saved using the .difference() in collections.
It logs two different auditlog entries, with two different keys, and one of them has even more information than the previous one.
Does anyone know what has caused this, or would you be willing to run my code and tell me if it's happening to you also?
3 Replies
my code ^^
Hey! I'm currently working on version 14 and I'm having an issue with the GuildAuditLogsEntry. I was wondering if I could get an explanation as to what's specifically going on here?
Just wondering what is this called where it says => "GuildAuditLogsEntry" ? as in when searching through the audit log itself what would I need to do to filter for that?
Thats just the name of the class
Thats how util.inspect shows it
Having said that.... i dont know why the others DONT have that
They should all be instances of
GuildAuditLogsEntry
It looks more like its a raw API object actuallyyeah that's what I was thinking so I'm trying to think if I can just filter for the class name being inside it than I might be able to have all of the proper information.
Do you have any idea how that would be done or even the slightest direction to point?