The Ping extension is a straightforward, yet essential part of your Botkit. It doesn't require any configuration and is enabled by default.
The Ping extension adds a /ping command to your bot. When this command is invoked, the
bot responds with a message indicating that it is online and operational. This can be
useful for quickly checking if your bot is responsive. The Ping extension also serves an
http endpoint at /ping that responds with a 200 OK status code and the bot's name.
To use the Ping extension type the /ping command. The bot should respond with a
message, confirming its online status. You can also send a GET request to the /ping
endpoint to check if the bot is online.
curl http://localhost:5000/pingThe Ping extension does not require any configuration. It is enabled by default. If you
wish to disable it, you can do so by setting its enabled key to false in the
config.yml file or through environment variables.
If you wish to contribute to the development of the Ping extension, please feel free to submit a pull request. We appreciate your help in making this extension better.