mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
🔧 Remove ! from the command
This commit is contained in:
parent
3cf145aa34
commit
dbb49f214f
1 changed files with 2 additions and 2 deletions
|
@ -81,9 +81,9 @@ class ConsolePDA:
|
||||||
"""
|
"""
|
||||||
log.debug(f"Completing partial: {part!r}")
|
log.debug(f"Completing partial: {part!r}")
|
||||||
if part.syntax:
|
if part.syntax:
|
||||||
command = part.complete(pattern=r"^!{name}\s+{syntax}$", names=names)
|
command = part.complete(pattern=r"^{name}\s+{syntax}$", names=names)
|
||||||
else:
|
else:
|
||||||
command = part.complete(pattern=r"^!{name}$", names=names)
|
command = part.complete(pattern=r"^{name}$", names=names)
|
||||||
self.register_conversation(command)
|
self.register_conversation(command)
|
||||||
return command
|
return command
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue