Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register who was responsible for a given action. (e.g. when receiving messageDelete, messageDeleteBulk, guildBanRemove, etc.) #406

Open
vxern opened this issue Sep 11, 2024 · 0 comments
Labels
⚜️ Class: Feature This outlines the addition of a new feature. ⚜️ Class: Improvement This will be an improvement to the function, design or code of the bot. ⚙️ Complexity: High This is expected to take up to 10 hours to implement. 🚩 Priority: P3 - Medium 🌼 Stage: Ready This issue can be picked up and worked on.

Comments

@vxern
Copy link
Owner

vxern commented Sep 11, 2024

To do this, the bot would need a better solution for retrieving entries from the audit log. Instead of making requests every time a new event comes in, which introduces unnecessary overhead, audit log entries would better be received from the guildAuditLogEntryCreate event, stored and queried from whatever cache it is stored in.

@vxern vxern added ⚜️ Class: Improvement This will be an improvement to the function, design or code of the bot. ⚜️ Class: Feature This outlines the addition of a new feature. ⚙️ Complexity: High This is expected to take up to 10 hours to implement. 🌼 Stage: Ready This issue can be picked up and worked on. 🚩 Priority: P3 - Medium labels Sep 11, 2024
@vxern vxern changed the title Log who was responsible for a given action. (e.g. when receiving messageDelete, messageDeleteBulk, guildBanRemove, etc.) Register who was responsible for a given action. (e.g. when receiving messageDelete, messageDeleteBulk, guildBanRemove, etc.) Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚜️ Class: Feature This outlines the addition of a new feature. ⚜️ Class: Improvement This will be an improvement to the function, design or code of the bot. ⚙️ Complexity: High This is expected to take up to 10 hours to implement. 🚩 Priority: P3 - Medium 🌼 Stage: Ready This issue can be picked up and worked on.
Projects
None yet
Development

No branches or pull requests

1 participant