• fix(core): Improve client ready state and user parsing

    Ghost released this 2025-06-14 23:49:33 -06:00 | 45 commits to master since this release

    The _ready_event is now set in GatewayClient immediately after
    receiving the READY payload, before dispatching on_ready to user code.
    This ensures Client.wait_until_ready() and Client.is_ready()
    accurately reflect the client's state before dependent user logic executes.

    This change allows simplifying Client.sync_commands by removing
    redundant wait_until_ready() calls and application_id checks,
    as the application ID is guaranteed to be available upon READY.

    Additionally, User model initialization is improved to correctly handle
    nested user data found in certain API payloads (e.g., within member
    objects in events like PresenceUpdate).

    Add SOUNDBOARD and VIDEO_QUALITY_720_60FPS to GuildFeature enum.

    Downloads