8000 GitHub - khodand/memenitpicker_bot: The bot remembers all the pictures posted in the Telegram chat and if it is a duplicate, says so with a reply to the original.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

The bot remembers all the pictures posted in the Telegram chat and if it is a duplicate, says so with a reply to the original.

License

Notifications You must be signed in to change notification settings

khodand/memenitpicker_bot

Repository files navigation

Telegram Bot Template

This is a template for creating a Telegram bot using Go. It uses the telebot library.

Suggestions and Improvements

We welcome your suggestions and advice! Please feel free to submit issues if you have any ideas on how to improve this template.

Usage

After cloning the repository:

  1. Replace token in cmd/config/secret.yaml with your bot token.
  2. Uncomment # secret.* in .gitignore to hide your token.
  3. Replace module name in go.mod with your module name. It will break the import path in the code, so you need to replace all import paths in the code with the new module name.

Docker and github workflows

This template includes a Dockerfile and a github workflow to build and run the bot in a container.

You have to create github secrets in your repository with following names or replace this name in .github/workflows/deploy.yml:

  • TIMEWEB_FULL_HOST - full host for your server (e.g. user@1.1.1.1)
  • TIMEWEB_SSH_KEY - private SSH key for your server
  • TIMEWEB_HOST - host for your server (e.g. 1.1.1.1)
  • DOCKERHUB_USERNAME - your dockerhub username
  • DOCKERHUB_TOKEN - your dockerhub secret token

About

The bot remembers all the pictures posted in the Telegram chat and if it is a duplicate, says so with a reply to the original.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
0