mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-17 04:29:13 +00:00
changed parameter for slowmode command to be a duration string instead of just seconds
added exception to duration parsing, in case there is a unknown duration indicator
This commit is contained in:
@@ -7,5 +7,6 @@ import java.time.Duration;
|
||||
|
||||
public interface SlowModeService {
|
||||
void setSlowMode(TextChannel channel, Duration duration);
|
||||
void disableSlowMOde(TextChannel channel);
|
||||
void setSlowMode(AChannel channel, Duration duration);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user