Skip to content

gdapps-studio/viem-telegram-bot-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Viem Telegram Bot

This project is a Telegram bot built using the Grammy framework and TypeScript. It includes various handlers for conversations, actions, sessions, and commands.

Installation

  1. Clone the repository: git clone https://github.com/your-username/viem-telegram-bot.git
  2. Install dependencies: pnpm install
  3. Create a .env file with the following variables:
    • BOT_TOKEN: Your Telegram bot token
  4. Start the bot: pnpm dev

Configuration

The bot is configured to use the BOT_TOKEN from the .env file. Make sure to replace your-username with your actual GitHub username and update the BOT_TOKEN in the .env file with your bot's token.

Running the Bot

After installation and configuration, you can start the bot by running pnpm dev. This will start the bot and it will be ready to receive messages and commands.

Socials

Make sure to follower me on X and Youtube

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published