(t string)
| 54 | var statsMu = &sync.Mutex{} |
| 55 | |
| 56 | func addToStats(t string) int { |
| 57 | statsMu.Lock() |
| 58 | defer statsMu.Unlock() |
| 59 | stats[t]++ |
| 60 | return stats[t] |
| 61 | } |
| 62 | |
| 63 | func (r *auddBot) getPatreonSupporter(botMentioned, fullMatch bool) string { |
| 64 | if !botMentioned || !fullMatch { |