Ping Command for Botyo
The Ping Command for Botyo sends a ping in a private message to a specific person, or makes the bot respond to the ping.
Usage
#ping [person]
For example:
#ping
- Makes the bot respond to the ping if it's online.#ping Alice
- Sends a ping in a private message to Alice.
Install
Step 1. Install the module from npm.
npm install --save botyo-command-ping
Step 2. Register the module.
import Botyo from "botyo";
import PingCommand from "botyo-command-ping"
Botyo.builder()
...
.registerModule(PingCommand)
...
.build()
.start();