From 664daa311addc3d76c82b717d0282f7ba38ac8ea Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Wed, 5 May 2021 22:54:50 -0400 Subject: [PATCH] Start new admin interactions at 1 not 0 --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.go b/config.go index b9c5aa7..e256bc6 100644 --- a/config.go +++ b/config.go @@ -62,7 +62,7 @@ func adminInteraction(s *discordgo.Session, m string) { admin, _ := s.GuildMember(config.GuildID, m) counter, ok := config.Stats[admin.User.ID] if !ok { - config.Stats[admin.User.ID] = 0 + config.Stats[admin.User.ID] = 1 } else { config.Stats[admin.User.ID] = counter + 1 }