diff --git a/downloads.go b/downloads.go index 717882b..c2d43ea 100644 --- a/downloads.go +++ b/downloads.go @@ -1243,7 +1243,7 @@ func (download downloadRequestStruct) tryDownload() (downloadStatusStruct, int64 emojis := guild.Emojis if len(emojis) > 1 { for { - rand.Seed(time.Now().UnixNano()) + rand.New(rand.NewSource((time.Now().UnixNano()))) chosenEmoji := emojis[rand.Intn(len(emojis))] formattedEmoji := chosenEmoji.APIName() if !chosenEmoji.Animated && !stringInSlice(formattedEmoji,