master
Marc 2021-05-28 17:28:18 +01:00
parent 2e5c2123f2
commit 8051000a5a
No known key found for this signature in database
GPG Key ID: 0657563F705ACAAE
1 changed files with 0 additions and 5 deletions

View File

@ -38,11 +38,6 @@ func (f *Features) handleSetSlowmode(s *discordgo.Session, m *discordgo.MessageC
}
}
} else {
channel, err := s.Channel(m.ChannelID)
if err != nil {
return err
}
_, err = s.ChannelEditComplex(m.ChannelID, &discordgo.ChannelEdit{
RateLimitPerUser: slowModeTime,
})