diff --git a/[Thai]-Home.md b/[Thai]-Home.md index cddebb7..1e2d75a 100644 --- a/[Thai]-Home.md +++ b/[Thai]-Home.md @@ -41,9 +41,9 @@ useraccount.add_account("admin", "") ssh = Server(useraccount) @ssh.on_user("command") -def command(channel, command: str, client): +def command(client, command: str): if command == "hello": - Send(channel, "world!") + Send(client, "world!") ssh.run(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'private_key.pem')) ```