Skip to content

ashutosh1401/telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-Bot

This bot is made with the help of npm module node-telegram-bot-api and written in nodejs.

Installation

After Forking and cloning the repository into your desktop use the npm(Node Package Manager) write the following commands in your cmd(windows) or terminal(Mac/Linux)

npm install

The Above command would install all the required dependencies for your project.
Now create a file name .env in the same directory as your local copy of repo. Add the following contents in your file

BOT_TOKEN=<Your_Bot_Token> save your file.

Usage

npm start

This command would start your nodejs server and your program would run.

API Docs please follow api docs to use more feature provided by the library and improvise the bot

Info

Before starting to make any bot please get the API token from botfather and set up your bot account.
Please Follow the instructions carefully while setting up your account and remember your token and not share with anyone make sure to create .env file.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

This is a Telegram bot made using JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published