discord-api-docs
discord-api-docs copied to clipboard
Moving a member to the same voice channel creates duplicates and sometimes causes audit log failures
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
- Connect to a voice channel.
- Use your bot to move yourself to the same channel you joined in step 1.
- Open the
Audit Logspanel.
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)