Slowmode now accepts integer only inputs as seconds (#2884)

* Slowmode now accepts integer only inputs as seconds

* Added changelog entry
This commit is contained in:
DevilXD 2019-07-17 14:47:38 +02:00 committed by Michael H
parent d4b6fdea92
commit 0ba9eaeccc
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Slowmode now accepts integer only inputs as seconds

View File

@ -21,7 +21,7 @@ class Slowmode(MixinMeta):
ctx,
*,
interval: commands.TimedeltaConverter(
minimum=timedelta(seconds=0), maximum=timedelta(hours=6)
minimum=timedelta(seconds=0), maximum=timedelta(hours=6), default_unit="seconds"
) = timedelta(seconds=0),
):
"""Changes channel's slowmode setting.