miloszowi c29b0dabc5 webhook to start pooling, removed env variables for app url and port
Author:    miloszowi <miloszweb@gmail.com>

Author:    miloszowi <miloszweb@gmail.com>
2021-09-25 16:49:11 +02:00
2021-09-19 19:34:43 +02:00
2021-09-19 19:34:43 +02:00
2021-09-19 19:34:43 +02:00
2021-09-19 19:34:43 +02:00
2021-09-19 19:34:43 +02:00
2021-09-19 19:34:43 +02:00
2021-09-19 19:34:43 +02:00

everyone-mention-telegram-bot

simple, but useful telegram bot to gather all of group members attention!

Contents

Getting started

Installation

git clone https://github.com/miloszowi/everyone-mention-telegram-bot.git
pip install -r requirements.txt
python entrypoint.py

Requirements

  • python with version specified in runtime.txt
  • pip with version 20.0.2

Env file

cp .env.local .env

and then fulfill copied .env file with required values

  • bot_token - your telegram bot token from BotFather
  • firebase_* - all of those values you can find in firebase console

Commands

/in

Will sign you in for everyone-mentions.

in command example

If you have already opted-in before, alternative reply will be displayed.

in command when someone already opted in example

/out

Will sign you off for everyone-mentions.

out command example

If you haven't opted-in before, alternative reply will be displayed.

out command when someone did not opt in example

/everone

Will mention everyone that opted-in for everyone-mentions separated by spaces.

If user does not contain nickname, his ID will be present instead of nickname.

everybody command example

If there are no users that opted-in for mentioning, alternative reply will be displayed.

everybone noone to mention example

Description
Mention everyone user for telegram group!
Readme MIT 743 KiB
Languages
Python 98.2%
Shell 1.4%
Dockerfile 0.4%