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

Moving a member to the same voice channel creates duplicates and sometimes causes audit log failures

Open RealAlphabet opened this issue 1 year ago • 0 comments

Description

If a bot moves a member into a voice channel where the member is already connected in, Discord will create a new "MemberMove" audit log entry. In addition, this new entry will not stack with the previous "MemberMove" entries of the same user in the same channel. Sometimes this seems to prevent new logs from being recorded for several minutes, creating a hole in the audit logs (the guild suddenly stops recording new audit logs for other actions).

Steps to Reproduce

  1. Connect to a voice channel.
  2. Use your bot to move yourself to the same channel you joined in step 1.
  3. Open the Audit Logs panel.

Expected Behavior

No entry is added to the audit logs because the member is already present in the voice channel.

Current Behavior

A new entry is systematically created each time and is not stacked with previous logs of the same type.

Screenshots/Videos

No response

Client and System Information

stable 319737 (74c37b3) Host 1.0.9158 x64 (50841) Build Override: N/A Windows 11 64-bit (10.0.22631)

RealAlphabet avatar Aug 19 '24 22:08 RealAlphabet