Skip to content

Commit

Permalink
fix: finishing touches
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Oct 28, 2023
1 parent 82611eb commit 148c692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ topgg = "1.2"

This library provides several feature flags that can be enabled/disabled in `Cargo.toml`. Such as:

- **`api`**: Interacting with the [Top.gg](https://top.gg) API and accessing the `top.gg/api/*` endpoints. (enabled by default)
- **`autoposter`**: Automating the process of periodically posting bot statistics to the [Top.gg](https://top.gg) API.
- **`api`**: Interacting with the [Top.gg API](https://docs.top.gg) and accessing the `top.gg/api/*` endpoints. (enabled by default)
- **`autoposter`**: Automating the process of periodically posting bot statistics to the [Top.gg API](https://docs.top.gg).
- **`webhook`**: Accessing the [`serde` deserializable](https://docs.rs/serde/latest/serde/de/trait.DeserializeOwned.html) `topgg::Vote` struct.
- **`actix-web`**: Wrapper for working with the [`actix-web`](https://actix.rs/) web framework.
- **`axum`**: Wrapper for working with the [`axum`](https://crates.io/crates/axum) web framework.
Expand Down
2 changes: 1 addition & 1 deletion src/bot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ impl Debug for Stats {
fn fmt(&self, fmt: &mut Formatter) -> fmt::Result {
fmt
.debug_struct("Stats")
.field("shards", &self.shards)
.field("shards", &self.shards())
.field("shard_count", &self.shard_count())
.field("server_count", &self.server_count())
.finish()
Expand Down

0 comments on commit 148c692

Please sign in to comment.