saihubot-skill-diagnostics

0.38.0 • Public • Published

Saihubot-skill-diagnostics

Saihubot-skill-diagnostics provide 3 default skills: ping, time, echo that works for HTML and Command Line.

Install

npm install saihubot-skill-diagnostics

(in html)

import { skills } from 'saihubot-skill-diagnostics/index.js'

(in module)

import { skills } from 'saihubot-skill-diagnostics'

then you can include via

new SaihuBot({
  ...
  skills: [...skills],
});

Or if you want import one of the skill from the skills set

import { skillPing } from 'saihubot-skill-diagnostics'
new SaihuBot({
  ...
  skills: [skillPing],
})

Ping skill

me: ping
bot: PONG

🕑 Time skill:

me: time
bot: Device time is Fri Aug 05 2016 21:22:11 GMT+0800 (CST)

📢 Echo skill:

me: echo Hello World!
bot: Hello World!

Imgur

🕑 Current Time skill:

me: time
bot: Device time is Fri Aug 05 2016 21:22:11 GMT+0800 (CST)

Readme

Keywords

Package Sidebar

Install

npm i saihubot-skill-diagnostics

Weekly Downloads

2

Version

0.38.0

License

MIT

Unpacked Size

5.89 kB

Total Files

7

Last publish

Collaborators

  • gasolin