README.md
3.26 KB
About The Project
Telegram bot is a very good tool. It has many excellent APIs, and has strong operability. I made a simple robot, hoping to help you understand telegram robot.
https://t.me/z1wooDemoBot
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
This is an example of how to list things you need to use the software and how to install them.
- telegram account
- Apply for a new bot from @BotFather
- MongoDB DataBase
Installation
- Clone the repo
sh git clone http://khuhub.khu.ac.kr/2020105575/TelegramBot.git
- Install NPM packages
sh npm install
- Enter your Bot Token in
app.js
JS const token = 'ENTER YOUR token';
- Enter your DateBaseURI in
config.js
JS mongoURI: = 'ENTER YOUR DateBaseURI';
Usage
Use Node.js to run, add bot to telegram, you can check the specific usage.
- For more examples, please refer to the Documentation
Roadmap
See the open issues for a list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.