Skip to content

Creating and updating scheduled events allows audit log #4224

@A5rocks

Description

@A5rocks

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??)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions