make sure countdown is started in base10
This commit is contained in:
parent
50fadec0e4
commit
9291a0dbca
|
@ -469,7 +469,7 @@ class ClientMessageProcessor(CommandProcessor):
|
|||
def _cmd_countdown(self, seconds: str = "10") -> bool:
|
||||
"""Start a countdown in seconds"""
|
||||
try:
|
||||
timer = int(seconds)
|
||||
timer = int(seconds, 10)
|
||||
except ValueError:
|
||||
timer = 10
|
||||
asyncio.create_task(countdown(self.ctx, timer))
|
||||
|
|
Loading…
Reference in New Issue