Start new admin interactions at 1 not 0

This commit is contained in:
2021-05-05 22:54:50 -04:00
parent 43ceafbea0
commit 664daa311a

View File

@ -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
}