|
|
@ -62,7 +62,7 @@ func adminInteraction(s *discordgo.Session, m string) { |
|
|
|
admin, _ := s.GuildMember(config.GuildID, m) |
|
|
|
admin, _ := s.GuildMember(config.GuildID, m) |
|
|
|
counter, ok := config.Stats[admin.User.ID] |
|
|
|
counter, ok := config.Stats[admin.User.ID] |
|
|
|
if !ok { |
|
|
|
if !ok { |
|
|
|
config.Stats[admin.User.ID] = 0 |
|
|
|
config.Stats[admin.User.ID] = 1 |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
config.Stats[admin.User.ID] = counter + 1 |
|
|
|
config.Stats[admin.User.ID] = counter + 1 |
|
|
|
} |
|
|
|
} |
|
|
|