Skip to content

Commit

Permalink
fix decrement members on leave (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
wagpa authored Jan 11, 2025
1 parent 6e3352f commit e7c3e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ impl EventHandler for Handler {
.get_or_create(&MemberLabels {
guild_id: guild_id.into(),
})
.inc();
.dec();

// Handle `bot` metric
if user.bot {
Expand Down

0 comments on commit e7c3e35

Please sign in to comment.