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.