Add say command

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-07-19 11:58:29 +03:00
parent a9a2080c6d
commit 08b4b9ae56
Signed by untrusted user who does not match committer: ari
GPG key ID: A50D5B4B599AF8A2

View file

@ -719,6 +719,18 @@ class CommandParser:
),
)
@staticmethod
def cmd_say(user: str, args: List[str]) -> Tuple[str]:
"""Auth command, says whatever you say it to say
Syntax: dumplog"""
return (
guac_msg(
"chat",
" ".join(args),
),
)
class MessageParser:
@staticmethod