Closed roni0028 closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Audit log entries not being added is a Discord bug and has been reported to them: https://github.com/discord/discord-api-docs/issues/7197
So wait for them to provide an update / fix the issue on their end.
This pull request updates the
GuildMemberRoleManager
class to use theedit
method to handle audit log sendingRole management updates:
packages/discord.js/src/managers/GuildMemberRoleManager.js
: Replaced theput
method with themember.edit
method to trigger audit logging. ([packages/discord.js/src/managers/GuildMemberRoleManager.jsL131-R131](diffhunk://#diff-a11dedf8688081af4fca40ff9ba77984570a5d81b98646c5da980d7b5b6a2a4aL131-R131)
)packages/discord.js/src/managers/GuildMemberRoleManager.js
](diffhunk://#diff-a11dedf8688081af4fca40ff9ba77984570a5d81b98646c5da980d7b5b6a2a4aL168-R168): Replaced thedelete
method with the Methodmember.edit
to trigger audit logging. ([packages/discord.js/src/managers/GuildMemberRoleManager.jsL168-R168](diffhunk://#diff-a11dedf8688081af4fca40ff9ba77984570a5d81b98646c5da980d7b5b6a2a4aL168-R168)
)