mirror of
https://github.com/the-programmers-hangout/swiftspiracy-bot.git
synced 2026-09-04 01:06:01 +02:00
fix bad math typo
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user