mirror of https://github.com/hak5/scuzzy.git
meh
parent
6c0d9911c8
commit
2e5c2123f2
|
@ -33,7 +33,6 @@ func (f *Features) handleSetSlowmode(s *discordgo.Session, m *discordgo.MessageC
|
|||
|
||||
for _, channel := range channels {
|
||||
s.ChannelEditComplex(channel.ID, &discordgo.ChannelEdit{
|
||||
Position: channel.Position,
|
||||
RateLimitPerUser: slowModeTime,
|
||||
})
|
||||
}
|
||||
|
@ -45,7 +44,6 @@ func (f *Features) handleSetSlowmode(s *discordgo.Session, m *discordgo.MessageC
|
|||
}
|
||||
|
||||
_, err = s.ChannelEditComplex(m.ChannelID, &discordgo.ChannelEdit{
|
||||
Position: channel.Position,
|
||||
RateLimitPerUser: slowModeTime,
|
||||
})
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue