Environment setup
- Install NVM (Node Version Manager)
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
- Install node.js version 10
$ nvm install 10
Install node modules
- Use NPM to install required node modules
$ npm install
- Support inline query
- Support sticker-as-command query
- Support customized sticker-as-command
- Customized for Hong Kong users
- Copy
config/default.example.js
toconfig/default.js
- Fill in
config/default.js
with your bot API token, Google Spreadsheet API key - You can make use of my demo spreadsheet or your own spreadsheet details (Please follow the format of demo spreadsheet)
- Start the process
$ npm start