Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 1.34 KB

README.md

File metadata and controls

57 lines (36 loc) · 1.34 KB

Baymax

Baymax is a "just for fun" chatbot developed with wechaty and padlocal puppet to make WeChat great again and learn TypeScript.

For more information about baymax, please visit the blog post.

Features

  • message commands

    • baike: shows overview of the query.
    • pet: shows a picture of cute pet.
    • quote: creates a image with the message text as quote.
    • id: get id for user and group.
    • help: shows the help message for baymax.
  • cron commands

    • birthday: send happy birthday text.
    • cat: send cute cat picture.
    • reminder: send general reminder text.
    • weather: send weather report.
  • recallless group chat

    Baymax will echo the recalled message back.

Bootstrap

  1. make sure you have node.js installed.

  2. Create a config file named config.json from sample config and edit it as you need:

    cp config/sample_config.json config/config.json

    Check config/config.schema.json as a reference for configuration.

  3. install dependencies

    npm install
  4. Compile baymax

    npm run build
  5. Run baymax

    npm run dev-start