fix bad math typo

This commit is contained in:
Khinshan Khan
2025-03-09 11:25:20 -04:00
parent d18ba1fa8b
commit 2d93d427c2
+1 -1
View File
@@ -134,7 +134,7 @@ func startScheduler(s *discordgo.Session, channelID string) {
go deleteMessageAfterDelay(discordMessage, s, channelID)
}
randomDuration = time.Duration(rand.Intn(SendMessageIntervalMin)+(SendMessageIntervalMax-SendMessageIntervalMin)) * SendMessageUnit
randomDuration = time.Duration(rand.Intn(SendMessageIntervalMax-SendMessageIntervalMin)+(SendMessageIntervalMin)) * SendMessageUnit
log.Printf("[!] Next message in %v", randomDuration)
}
}