mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +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}")
|
||||
if part.syntax:
|
||||
command = part.complete(pattern=r"^!{name}\s+{syntax}$", names=names)
|
||||
command = part.complete(pattern=r"^{name}\s+{syntax}$", names=names)
|
||||
else:
|
||||
command = part.complete(pattern=r"^!{name}$", names=names)
|
||||
command = part.complete(pattern=r"^{name}$", names=names)
|
||||
self.register_conversation(command)
|
||||
return command
|
||||
|
||||
|
|
Loading…
Reference in a new issue