Open Ernest314 opened 3 years ago
On further inspection, this seems to be a D#+ issue (that's unlikely to get fixed?)
At the moment it's only broken for OverwriteDelete
? but not OverwriteCreate
Possibly linked to 2 new OverwriteDelete
(not OverwriteCreate
) entries that have been added since this issue was first opened? Very strange...
(D#+ dev says it's a breaking change on Discord's side that's causing this)
Causes an
InvalidCastException
whenever the following line of code is executed (async-ness doesn't seem to matter) in the audit log module initialization:This seems to work for all
AuditLogActionType
s exceptOverwriteCreate
andOverwriteDelete
. (OverwriteUpdate
seems to work fine??)Currently the function call is wrapped inside a
try
/catch
and returnsnull
for the brokenAuditLogActionType
s, but this means those audit log action types will never be able to be printed.The dump of the thrown exception: