Skip to content

Inconsistency with scheduled_event function parameter #2234

@mplatypus

Description

@mplatypus

An inconsistency with naming has been found.

In the rest.py file, the function create_stage_instance has a item with the name scheduled_event_id. This value takes a undefined.UndefinedOr[snowflakes.SnowflakeishOr[scheduled_events.ScheduledEvent]], which based on other items, that take snowflakes.SnowflakeishOr[...] even if the value in the payload is equal to something like channel_id the value name is still only channel.

The fix:

change the name of the function from scheduled_event_id to scheduled_event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change hurts backwards compatibilityenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions