Skip to content

bot update

This command updates an existing robot version in the server. It will override the existing robot file with the new one.

./BotCLI bot update [arguments]

What are the arguments?

Argument Required Description
-version,
--v
Yes The version identifier of the robot.
-botId,
--bid
Yes The ID of the robot.
-file,
--f
Yes The path to the robot file (.jar, .zip or .tar.gz).
-python,
-java
or
-javascript
Yes The technology used by the robot (python, java or javascript).

Examples

Updating the 1.0 version of the bot with the Id MyBot, which uses Java technology and will run the my_bot.jar file.

./BotCLI bot update -version 1.0 -botId "MyBot" -file "my_bot.jar" -java

Updating the 1.0 version of the bot with the Id MyPythonBot, which uses Python technology and will run the MyPythonBot.zip package.

./BotCLI bot update -version 1.0 -botId "MyPythonBot" -file "MyPythonBot.zip" -python