mirror of https://github.com/hak5/scuzzy.git
meh
parent
2e5c2123f2
commit
8051000a5a
|
@ -38,11 +38,6 @@ func (f *Features) handleSetSlowmode(s *discordgo.Session, m *discordgo.MessageC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
channel, err := s.Channel(m.ChannelID)
|
|
||||||
if err != nil {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
_, err = s.ChannelEditComplex(m.ChannelID, &discordgo.ChannelEdit{
|
_, err = s.ChannelEditComplex(m.ChannelID, &discordgo.ChannelEdit{
|
||||||
RateLimitPerUser: slowModeTime,
|
RateLimitPerUser: slowModeTime,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue