botyo-command-ping
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i botyo-command-ping

Weekly Downloads

5

Version

2.0.0

License

Apache-2.0

Unpacked Size

18.3 kB

Total Files

7

Last publish

Collaborators

  • ivkos