mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	games: Fix help prefix stripper
This commit is contained in:
		
							parent
							
								
									f1b0981f87
								
							
						
					
					
						commit
						c5242d1590
					
				@ -176,7 +176,7 @@ class CommandHandler:
 | 
			
		||||
            cmd = command.args.strip().split(' ', 1)[0].casefold()
 | 
			
		||||
 | 
			
		||||
            if cmd.startswith(self.public_command_prefix):
 | 
			
		||||
                cmd = cmd[len(self.public_command_prefix) - 1:]
 | 
			
		||||
                cmd = cmd[len(self.public_command_prefix):]
 | 
			
		||||
 | 
			
		||||
            handler = self.commands.get(cmd)
 | 
			
		||||
            if handler:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user