discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

"Guild Audit Log Entry Create" bugs/issues

Open GoldenAngel2 opened this issue 1 year ago • 7 comments

Description

The audit log event only gets sent once for the first action taken instead of all actions taken by a moderator.

For the following audit log events: MEMBER_MOVE (26), MEMBER_DISCONNECT (27), MESSAGE_DELETE (72)

If this is intended and is going to stay the way it is now, then there should be a note on the "Guild Audit Log Entry Create" event detailing this is intended.

Steps to Reproduce

Message Deletes

  • Send multiple messages on a different account
  • Have a mod with manage messages delete the messages from that different account
  • See there is only one ever audit log event being sent with (options including 'count' as '1')

Voice Member Disconnects

  • Have a member in a voice channel
  • Have a mod disconnect a user from the voice channel
  • Have them do it twice or more.
  • See there is only one ever audit log event being sent with (options being 'count' as '1')

Voice Member Moves

  • Have a member in a voice channel
  • Have a mod move them to a different voice channel
  • Have them do it twice or more.
  • Same as the other two

All of them should be sent per-action taken with 'count' being increased.

Expected Behavior

It sends the audit log event on every action taken, with the correct values.

Current Behavior

It only sends the audit log event on the first action taken.

Screenshots/Videos

No response

Client and System Information

Discord WS: v10 DIscord API: v10

GoldenAngel2 avatar Feb 08 '23 23:02 GoldenAngel2

For the voice stuff, that's known because the previous auditlog is updated instead afaik, hence why it won't get fired again

Lulalaby avatar Feb 27 '23 22:02 Lulalaby

For the voice stuff, that's known because the previous auditlog is updated instead afaik, hence why it won't get fired again

@Lulalaby So if its known it should still be documented. And then we now have the question of why there is not a GUILD_AUDIT_LOG_ENTRY_EDIT event.

onerandomusername avatar Feb 28 '23 00:02 onerandomusername

Ya that's a thing a dev should answer 🤷‍♀️

Lulalaby avatar Feb 28 '23 01:02 Lulalaby

Ya that's a thing an dev should answer 🤷‍♀️

a*

eric48906 avatar Apr 04 '23 18:04 eric48906

+1, any update?

lostful avatar Sep 17 '23 10:09 lostful

Why don't we have a GuildAuditLogEntryUpdate yet??? How can we track that

Thorvarium avatar Jan 24 '24 01:01 Thorvarium

Discord should really correct voice logs, on large servers it's impossible to determine precisely which staff has actually moved or disconnected another member. Not to mention that Discord still hasn't implemented the missing audit logs concerning the reorganization of channel order and roles. I really doubt that solving the audit log problem would require a lot of resources and development time. What are the folks at Discord up to?

RealAlphabet avatar Feb 25 '24 02:02 RealAlphabet