Skip to content

buildwithcode888/Simple-Tg-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Telegram Bot with Telegraf.js

🚀 A simple yet powerful Telegram bot built using Telegraf.js – a modern framework for building bots with ease.


✨ Features

✅ Easy-to-use JavaScript-based Telegram bot
✅ Uses Telegraf.js for seamless interaction with Telegram API
✅ Simple setup and deployment
✅ Lightweight and efficient


🔧 Installation

First, ensure you have Node.js installed.

1️⃣ Install Dependencies

You can install Telegraf.js using your preferred package manager:

# Using npm
npm install telegraf

# Using yarn
yarn add telegraf

# Using pnpm
pnpm add telegraf

🚀 Running the Bot

2️⃣ Start the Bot

Run the bot with:

node bot.js

Or, if you have nodemon installed for auto-restarting:

nodemon bot.js

💡 Hit CTRL+C to stop the bot.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors