make sure countdown is started in base10

This commit is contained in:
Fabian Dill 2020-04-21 21:46:16 +02:00
parent 50fadec0e4
commit 9291a0dbca
1 changed files with 1 additions and 1 deletions

View File

@ -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))