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

Creating and updating scheduled events allows audit log #4224

Closed
A5rocks opened this issue Dec 11, 2021 · 0 comments
Closed

Creating and updating scheduled events allows audit log #4224

A5rocks opened this issue Dec 11, 2021 · 0 comments

Comments

@A5rocks
Copy link
Contributor

A5rocks commented Dec 11, 2021

Description

You can send X-Audit-Log-Reason along with creating a guild scheduled event and with updating a guild scheduled event. This, of course, is not documented. (deleting a guild scheduled event seems to not take this header into account)

Steps to Reproduce

  1. send the X-Audit-Log-Reason header when making a request
  2. it shows up in audit log

Expected Behavior

Documented behavior happens: most routes that take audit log headers are documented so it is expected that routes this is not documented for do not have audit logs -- this one does though.

Current Behavior

Undocumented behavior happens. (wow I've never heard of DIscord having undocumented behavior this is a first)

Screenshots/Videos

image

Client and System Information

I'm on a custom library using Python, and Canary 107833 on Linux. (should this field be removed lol? The template is called "API Bug Report" what does it have to do with client system??)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants