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:
 | 
					    def _cmd_countdown(self, seconds: str = "10") -> bool:
 | 
				
			||||||
        """Start a countdown in seconds"""
 | 
					        """Start a countdown in seconds"""
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            timer = int(seconds)
 | 
					            timer = int(seconds, 10)
 | 
				
			||||||
        except ValueError:
 | 
					        except ValueError:
 | 
				
			||||||
            timer = 10
 | 
					            timer = 10
 | 
				
			||||||
        asyncio.create_task(countdown(self.ctx, timer))
 | 
					        asyncio.create_task(countdown(self.ctx, timer))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue