Skip to content

sly2m/Telegram-Bot

Repository files navigation

Telegram Bot using GrammyJS library

This project is a Telegram Bot built with Node.js using the GrammyJS library.

Setup

To build and deploy the CI/CD pipeline, you need to set up the following GitHub Actions Secrets:

  • AZURE_CREDENTIALS: Your Azure credentials to deploy the container.
  • BOT_API_KEY: Your Telegram Bot API Key.
  • GHCR_PAT: Your GitHub Container Registry Token.
  • STOCK_API_KEY: API KEY Token for stocks API provider

And Variables:

  • MEME_PAGE_URL: Page with memes for random meme scraping.
  • ANEK_PAGE_URL: Page with anekdots for random anekdot scraping.
  • ANEK_SEARCH_URL: Page with anekdots with search option for scraping.

Usage

Before running the commands to start or stop the bot, make sure you are logged into your Azure account. You can do this by running az login.

To stop the Telegram Bot on the server, use the following command:

az container stop --name telegram-bot --resource-group MyGeneralResourceGroup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published