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

[BUG] AuditLogEventType 192 missing #1596

Closed
4 tasks done
ryandiamond23 opened this issue Dec 31, 2023 · 3 comments
Closed
4 tasks done

[BUG] AuditLogEventType 192 missing #1596

ryandiamond23 opened this issue Dec 31, 2023 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ryandiamond23
Copy link

Library Version

stable

Describe the Bug

Seeing the following error in bot logs:
Class AuditLogEventType received an invalid and unexpected value 192, 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

TBD, trying to determine which audit log event corresponds to ID 192 so that the enums can be updated.

Expected Results

No AuditLogEventType event code errors shown in bot log output.

Minimal Reproducible Code

No response

Traceback

No response

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.
  • I have attempted to debug this myself, and I believe this issue is with the library

Additional Information

Enum needs to be set, but need to first identify what event 192 is. Discord Docs don't have anything listed, either.

https://discord.com/developers/docs/resources/audit-log#audit-log-change-object-audit-log-change-exceptions
https://github.com/interactions-py/interactions.py/blob/stable/interactions/models/discord/enums.py#L992

@ryandiamond23
Copy link
Author

Opening this issue to track -- I'm trying to identify which event 192 corresponds to and will open a MR with the fix once identified.

@Mias15
Copy link

Mias15 commented Jan 14, 2024

@ryandiamond23
192 = channel status added/changed
193 = channel status removed
image

@Scrxtchy
Copy link
Contributor

here is what's from the canary dist that isn't covered by the enum if someone would like to contribute it. The names may change in the future like they have in the past (we don't match very accurately anymore)

{
                VOICE_CHANNEL_STATUS_CREATE: 192,
                VOICE_CHANNEL_STATUS_DELETE: 193,
                CLYDE_AI_PROFILE_UPDATE: 194,
                GUILD_SCHEDULED_EVENT_EXCEPTION_CREATE: 200,
                GUILD_SCHEDULED_EVENT_EXCEPTION_UPDATE: 201,
                GUILD_SCHEDULED_EVENT_EXCEPTION_DELETE: 202

@eightween eightween added bug Something isn't working good first issue Good for newcomers labels Feb 3, 2024
silasary added a commit that referenced this issue Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants