make sure countdown is started in base10
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user