nessshon / support-bot

Telegram bot for feedback with topic support.

Home Page:https://t.me/nessshonSupportBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿค– Support Bot

License Telegram Bot Python Redis Docker

Support Bot is a specially designed Telegram bot for feedback. With built-in support for topics, all user messages are intelligently categorized, promoting organized and streamlined discussion in your group. It provides features such as blocking unwanted users, silent mode in topics for discreet conversations, and more. Improve group communication with Support Bot!

About Limits:

Specific limits are not specified in the documentation, but the community has shared some rough numbers.
โ€ข Limit on topic creation per minute ~20.
โ€ข Limit on the total number of topics ~1M.
Available bot commands for admins (DEV_ID)
  • /newsletter - Open the newsletter menu.

    Use this command to initiate a newsletter for users. Note: This command works only in private chats.

Available bot commands in the group topics
  • /ban - Block/Unblock User.

    Use this command to block or unblock a user, controlling the receipt of messages from them.

  • /silent - Activate/Deactivate Silent Mode.

    Enable or disable silent mode to prevent messages from being sent to the user.

  • /information - User Information.

    Receive a message containing basic information about the user.

Usage

Preparation
  1. Create a bot via @BotFather and save the TOKEN (referred to as BOT_TOKEN later).
  2. Create a group and enable topics in the group settings.
  3. Add the created bot to the group as an admin and grant it the necessary rights to manage topics.
  4. Add the bot What's my Telegram ID? to the group and save the group ID (referred to as BOT_GROUP_ID later).
  5. Optionally, customize the bot texts to fit your needs in the file named texts.
  6. Optionally, add the language you need to SUPPORTED_LANGUAGES and add the appropriate codes to the data.
Installation
  1. Clone the repository:

    git clone https://github.com/nessshon/support-bot.git
  2. Change into the bot directory:

    cd support-bot
  3. Clone environment variables file:

    cp .env.example .env
  4. Configure environment variables variables file:

    nano .env
  5. Running a bot in a docker container:

    docker-compose up --build

Environment Variables Reference

Click to expand

Here is a comprehensive reference guide for the environment variables used in the project:

Variable Type Description Example
BOT_TOKEN str Bot token, obtained from @BotFather 123456:qweRTY
BOT_DEV_ID int User ID of the bot developer or admin 123456789
BOT_GROUP_ID str Group ID where the bot operates -100123456789
BOT_EMOJI_ID str The custom emoji ID for the group's topic. 5417915203100613993
REDIS_HOST str The hostname or IP address of the Redis server redis
REDIS_PORT int The port number on which the Redis server is running 6379
REDIS_DB int The Redis database number 1
List of supporting custom emoji ID's

5434144690511290129 - ๐Ÿ“ฐ

5312536423851630001 - ๐Ÿ’ก

5312016608254762256 - โšก๏ธ

5377544228505134960 - ๐ŸŽ™

5418085807791545980 - ๐Ÿ”

5370870893004203704 - ๐Ÿ—ฃ

5420216386448270341 - ๐Ÿ†’

5379748062124056162 - โ—๏ธ

5373251851074415873 - ๐Ÿ“

5433614043006903194 - ๐Ÿ“†

5357315181649076022 - ๐Ÿ“

5309965701241379366 - ๐Ÿ”Ž

5309984423003823246 - ๐Ÿ“ฃ

5312241539987020022 - ๐Ÿ”ฅ

5312138559556164615 - โค๏ธ

5377316857231450742 - โ“

5350305691942788490 - ๐Ÿ“ˆ

5350713563512052787 - ๐Ÿ“‰

5309958691854754293 - ๐Ÿ’Ž

5350452584119279096 - ๐Ÿ’ฐ

5309929258443874898 - ๐Ÿ’ธ

5377690785674175481 - ๐Ÿช™

5310107765874632305 - ๐Ÿ’ฑ

5377438129928020693 - โ‰๏ธ

5309950797704865693 - ๐ŸŽฎ

5350554349074391003 - ๐Ÿ’ป

5409357944619802453 - ๐Ÿ“ฑ

5312322066328853156 - ๐Ÿš—

5312486108309757006 - ๐Ÿ 

5310029292527164639 - ๐Ÿ’˜

5310228579009699834 - ๐ŸŽ‰

5377498341074542641 - โ€ผ๏ธ

5312315739842026755 - ๐Ÿ†

5408906741125490282 - ๐Ÿ

5368653135101310687 - ๐ŸŽฌ

5310045076531978942 - ๐ŸŽต

5420331611830886484 - ๐Ÿ”ž

5350481781306958339 - ๐Ÿ“š

5357107601584693888 - ๐Ÿ‘‘

5375159220280762629 - โšฝ๏ธ

5384327463629233871 - ๐Ÿ€

5350513667144163474 - ๐Ÿ“บ

5357121491508928442 - ๐Ÿ‘€

5357185426392096577 - ๐Ÿซฆ

5310157398516703416 - ๐Ÿ“

5310262535021142850 - ๐Ÿ’„

5368741306484925109 - ๐Ÿ‘ 

5348436127038579546 - โœˆ๏ธ

5357120306097956843 - ๐Ÿงณ

5310303848311562896 - ๐Ÿ–

5350424168615649565 - โ›…๏ธ

5413625003218313783 - ๐Ÿฆ„

5350699789551935589 - ๐Ÿ›

5377478880577724584 - ๐Ÿ‘œ

5310303848311562896 - ๐Ÿ–

5350424168615649565 - โ›…๏ธ

5413625003218313783 - ๐Ÿฆ„

5350699789551935589 - ๐Ÿ›

5377478880577724584 - ๐Ÿ‘œ

5431492767249342908 - ๐Ÿ›’

5350497316203668441 - ๐Ÿš‚

5350422527938141909 - ๐Ÿ›ฅ

5418196338774907917 - ๐Ÿ”

5350648297189023928 - ๐Ÿ•

5309832892262654231 - ๐Ÿค–

5350751634102166060 - ๐Ÿชฉ

5377624166436445368 - ๐ŸŽŸ

5386395194029515402 - ๐Ÿด

5350387571199319521 - ๐Ÿ—ณ

5357419403325481346 - ๐ŸŽ“

5368585403467048206 - ๐Ÿ”ญ

5377580546748588396 - ๐Ÿ”ฌ

5377317729109811382 - ๐ŸŽถ

5382003830487523366 - ๐ŸŽค

5357298525765902091 - ๐Ÿ•บ

5357370526597653193 - ๐Ÿ’ƒ

5357188789351490453 - ๐Ÿช–

5348227245599105972 - ๐Ÿ’ผ

5411138633765757782 - ๐Ÿงช

5386435923204382258 - ๐Ÿ‘จ

5377675010259297233 - ๐Ÿ‘ถ

5386609083400856174 - ๐Ÿคฐ

5368808634392257474 - ๐Ÿ’…

5350548830041415279 - ๐Ÿ›

5355127101970194557 - ๐Ÿงฎ

5386379624773066504 - ๐Ÿ–จ

5377494501373780436 - ๐Ÿ‘ฎ

5350307998340226571 - ๐Ÿฉบ

5310094636159607472 - ๐Ÿ’Š

5310139157790596888 - ๐Ÿ’‰

5377468357907849200 - ๐Ÿงผ

5418115271267197333 - ๐Ÿชช

5372819184658949787 - ๐Ÿ›ƒ

5350344462612570293 - ๐Ÿฝ

5384574037701696503 - ๐ŸŸ

5310039132297242441 - ๐ŸŽจ

5350658016700013471 - ๐ŸŽญ

5357504778685392027 - ๐ŸŽฉ

5350367161514732241 - ๐Ÿ”ฎ

5350520238444126134 - ๐Ÿน

5310132165583840589 - ๐ŸŽ‚

5350392020785437399 - โ˜•๏ธ

5350406176997646350 - ๐Ÿฃ

5350403544182694064 - ๐Ÿ”

5350444672789519765 - ๐Ÿ•

5312424913615723286 - ๐Ÿฆ 

5417915203100613993 - ๐Ÿ’ฌ

5312054580060625569 - ๐ŸŽ„

5309744892677727325 - ๐ŸŽƒ

5238156910363950406 - โœ๏ธ

5235579393115438657 - โญ๏ธ

5237699328843200968 - โœ…

5238027455754680851 - ๐ŸŽ–

5238234236955148254 - ๐Ÿคก

5237889595894414384 - ๐Ÿง 

5237999392438371490 - ๐Ÿฆฎ

5235912661102773458 - ๐Ÿˆ

Contribution

We welcome your contributions! If you have ideas for improvement or have identified a bug, please create an issue or submit a pull request.

Donations

TON - EQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNess

USDT (TRC-20) - TJjADKFT2i7jqNJAxkgeRm5o9uarcoLUeR

License

This repository is distributed under the MIT License. Feel free to use, modify, and distribute the code in accordance with the terms of the license.

About

Telegram bot for feedback with topic support.

https://t.me/nessshonSupportBot

License:MIT License


Languages

Language:Python 99.7%Language:Dockerfile 0.3%