No more waiting

This commit is contained in:
kolaente 2021-05-15 20:51:53 +02:00
parent c762556b3d
commit e63383bf58
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ func messageOstmarkHandler(s *discordgo.Session, m *discordgo.MessageCreate) {
func sendLoop(s *discordgo.Session, channelID string, messages []string) error {
for _, message := range messages {
time.Sleep(time.Duration(100+rand.Intn(1500)) * time.Millisecond)
//time.Sleep(time.Duration(100+rand.Intn(1500)) * time.Millisecond)
if _, err := s.ChannelMessageSend(channelID, message); err != nil {
return err
}