Ana sayfa Telegram Chat Size Calculator Bot
Gönderi
İptal

Telegram Chat Size Calculator Bot

ChatSizeBot

🇹🇷 Telegram Kanal / Grup boyutu hesaplayıcı bot

🇬🇧 Telegram Channel / Group size calculator bot

Demo in telegram: @ChatSizeBot 🔥 Repo: HuzunluArtemis/ChatSizeBot

Features

  • Task Quee
  • Public, private chats
  • Calculates: document, video, audio, photo, animation, voice, video_note
  • Progress
  • Auth users or public
  • Force Subscribe
  • Server stats & Dyno usage for heroku. Use: /stats
  • Logger, Pinger, Shell executer

Bot Commands (Set in @BotFather)

1
2
3
4
5
start - bot help
ping - check bot online status
stats - bot statistics
shell - execute shell command ❗ admin only
log - send bot logs ❗ admin only

Environment Variables

  • BOT_TOKEN: Telegram Bot Token. Example: 3asd2a2sd32:As56das65d2as:ASd2a6s3d26as
  • APP_ID: Telegram App ID. Example: 32523453
  • API_HASH: Telegram Api Hash. Example: asdasdas6d265asd26asd6as1das
  • AUTH_IDS: Auth only some groups or users. If you want public, leave it empty or give 0. Example: -100656 56191 -10056561
  • OWNER_ID: Bot’s owner id. Send /id to t.me/MissRose_bot in private to get your id.
  • HEROKU_API_KEY: For dyno usage in /stats - Optional.
  • HEROKU_APP_NAME: For dyno usage in /stats - Optional.
  • CHANNEL_OR_CONTACT: your users contact link. give your username. example: HuzunluArtemis
  • FORCE_SUBSCRIBE_CHANNEL: forcesub channel. optional. give channel id like -1006616516165 or channel username like HuzunluArtemis
  • You can use heroku-18, 20, 22 or docker deploy.
  • PROGRESSBAR_LENGTH: Progressbar length. See config.py.
  • FINISHED_PROGRESS_STR: Finished Progress Char. Default:
  • UN_FINISHED_PROGRESS_STR: Unfinished Progress Char. Default:
  • JOIN_CHANNEL_STR: Join channel warning string. See config.py.
  • YOU_ARE_BANNED_STR: Banned user string. See config.py.
  • JOIN_BUTTON_STR: Join button string. See config.py.

Deploy

Deploy to Heroku:

Deploy to Local:

  • install python to your machine
  • git clone https://gitlab.com/HuzunluArtemis/ChatSizeBot
  • cd ChatSizeBot
  • pip install -r requirements.txt
  • python bot.py

Deploy to Vps:

  • git clone https://gitlab.com/HuzunluArtemis/ChatSizeBot
  • cd ChatSizeBot
  • For Debian based distros sudo apt install python3 && sudo snap install docker
  • For Arch and it’s derivatives: sudo pacman -S docker python

Lisans

You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Bu gönderi CC BY 4.0 lisansı altındadır.

Telegram Mailru Downloader Bot

TeleLeechX Bot

Yorumlar yüklenmezse JavaScript'i etkinleştir.