https://github.com/ongzzzzzz/owouwubot
https://github.com/ongzzzzzz/owouwubot
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ongzzzzzz/owouwubot
- Owner: ongzzzzzz
- Created: 2020-09-19T15:28:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-20T04:44:09.000Z (over 4 years ago)
- Last Synced: 2025-01-05T07:46:00.667Z (5 months ago)
- Language: JavaScript
- Size: 191 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project was bootstrapped with
[Bottender](https://github.com/Yoctol/bottender) init script.# Note:
sadly facebook demoted messenger chatbots so this is kinda a dead project :P
nevertheless great nodejs experience 😃## Sending Feedback
Always feel free to open an issue to
[Bottender](https://github.com/Yoctol/bottender/issues) repository.## Configuration
### The `bottender.config.js` File
Bottender configuration file. You can use this file to provide settings for the session store and channels.
### The `.env` File
Bottender utilizes the [dotenv](https://www.npmjs.com/package/dotenv) package to load your environment variables when developing your app.
To make the bot work, you must put required environment variables into your `.env` file.
## Available Scripts
In the project directory, you can run:
### `npm run dev`
Runs the app in development mode.
The bot will automatically reload if you make changes to the code.
By default, server runs on [http://localhost:5000](http://localhost:5000) and ngrok runs on [http://localhost:4040](http://localhost:4040).To run in [Console Mode](https://bottender.js.org/docs/en/the-basics-console-mode), provide the `--console` option:
```sh
npm run dev -- --console
yarn dev --console
```### `npm start`
Runs the app in production mode.
By default, server runs on [http://localhost:5000](http://localhost:5000).To run in [Console Mode](https://bottender.js.org/docs/en/the-basics-console-mode), provide the `--console` option:
```sh
npm start -- --console
yarn start --console
```### `npm run lint`
Runs the linter rules using [Eslint](https://eslint.org/).
### `npm test`
Runs the test cases using [Jest](https://jestjs.io/).
## Learn More
To learn Bottender, check out the [Bottender documentation](https://bottender.js.org/docs/en/getting-started).
For more examples, see [Bottender examples](https://github.com/Yoctol/bottender/tree/master/examples).