interactions.py
interactions.py copied to clipboard
[BUG] AuditLogEventType 130, 131, 132 missing
Library Version
5.11.0
Describe the Bug
Class AuditLogEventType received an invalid and unexpected value 130, a new enum item will be created to represent this value. Please update interactions.py or report this issue on GitHub - https://github.com/interactions-py/interactions.py/issues
Steps to Reproduce
130 = Add a sound to the soundboard 131 = Modify a sound in the soundboard 132 = Delete a sound from the soundboard
Expected Results
AuditLogeventType should recognize these
Minimal Reproducible Code
No response
Traceback
No response
Checklist
- [X] I have searched the open issues for duplicates.
- [X] I have shown the entire traceback, if possible.
- [X] I have removed my token from display, if visible.
- [X] I have attempted to debug this myself, and I believe this issue is with the library
Additional Information
No response
I can look into that 🙋♂️
Seems like an undocumented part of the api, I can suggest names for the events to wait the official implémentation. None of the less it is an easy fix.
It's because it's undocumented that I made an issue report instead of a PR
Okay I see, maybe we could use like SOUNDBOARD_CREATE,SOUNDBOARD_EDIT and SOUNDBOARD_DELETE in the meantime.
If it's undocumented, the usual thing to do is to simply not add anything until it is. We've ran into issues in the past where we named something too early and would have to do a breaking change to rename it.
Okay, then we hold that issue for now.
Setting this issue to pending until documentation exists for the new enumerations.