mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-26 04:32:51 +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()
|
cmd = command.args.strip().split(' ', 1)[0].casefold()
|
||||||
|
|
||||||
if cmd.startswith(self.public_command_prefix):
|
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)
|
handler = self.commands.get(cmd)
|
||||||
if handler:
|
if handler:
|
||||||
|
Loading…
Reference in New Issue
Block a user