Compare commits

...

2 commits

Author SHA1 Message Date
050fb35358
Only run for previous 6 hours 2025-06-27 09:06:04 +12:00
b8bff1540f
Dont purge historical 2025-06-27 08:16:38 +12:00

View file

@ -50,7 +50,7 @@ func runScrubber() {
tmpScrub := scrubbers
for guildID, users := range tmpScrub {
for userID, interval := range users {
emojis, err := b.Db.GetAllEmojisForUser(guildID, userID)
emojis, err := b.Db.GetRecentEmojisForUser(guildID, userID, 6)
if err != nil {
slog.Error("Error getting recent emojis for user", "guild_id", guildID, "user_id", userID, "err", err)
continue