From e7c3e35e8a6db0b183652685ac9be92478db0652 Mon Sep 17 00:00:00 2001 From: Paul Wagner Date: Sat, 11 Jan 2025 12:19:13 +0100 Subject: [PATCH] fix decrement members on leave (#11) --- src/discord.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discord.rs b/src/discord.rs index 009fc24..2e29618 100644 --- a/src/discord.rs +++ b/src/discord.rs @@ -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 {