2.0.0 • Published 6 years ago

botyo-command-ping v2.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

Ping Command for Botyo

npm npm npm

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();