Skip to content

JSON deserialize error on guild invites #3402

@HyperCodec

Description

@HyperCodec

Running ctx.http.get_guild_invites(guild_id).await, I get the following:

thread 'tokio-runtime-worker' panicked at src/bot/mod.rs:82:22:
Failed to get guild invites: Json(Error("missing field `created_at`", line: 1, column: 770))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

According to the api docs, it does not have a created_at field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions