TeleBot
587 subscribers
3 photos
64 links
💥

[Python] Telegram UserBot

https://www.github.com/xditya/TeleBot

For more help, join @TeleBotHelpChat

All links - @TeleBotSupport

💥
Download Telegram
How to Deploy your UserBot to Heroku?

YOU ABSOLUTELY MUST READ THE ENTIRE STEPS, AND NOT SKIM THROUGH ANY OF IT!

👉 Install this application from Google Play

👉 Open Termux

👉 termux-setup-storage

👉 pkg install python git

👉apt install git python -y && pip install telethon

👉 python -m venv venv && . ./venv/bin/activate

👉 cd /sdcard/Telegram

👉 git clone https://github.com/xditya/TeleBot

👉 cd TeleBot

👉 pip install telethon

👉 python3 telesetup.py

👉 Follow the OnScreen prompts

N.B.: Keep this string safe! Anyone with this string can use it to login into your account and do anything they want to to do.

👉 Open this link

👉 Follow the OnScreen prompts

👉 App name, APP_ID, API_HASH, STRING_SESSION, TG_BOT_TOKEN_BF_HER and TG_BOT_USER_NAME_BF_HER are mandatory fields. Rest of the fields can be left with the default values.

Now go to www.github.com/xditya/TeleBot
👉 Fork and star repository (if on android, enable desktop site to fork)

👉 Tap on Deploy app

👉 Wait for deploy to finish.

👉 After deploy press Manage App then go to Resources

👉 Enable the worker dyno, by toggling the slide-toggle.

👉 Done. Your UserBot is alive. Check with .help in any chat.

Credits @Xtratgbot

Thanks for @SpEcHiDe for writing this out


〰️ @userbottuts 〰️
To add your own name to alive and kang, firstly, make sure your bot is up to date by using the .update command. Check out it's tutorial here - https://t.me/TGUserBott/5
Do not panic immediately after using the updater. It takes time to deploy the bot on heroku.

To add your name, simply go to heroku and add the following vars:

Key: ALIVE_NAME
Value: The name you want to show.

And that's pretty much it.

Q: how to add vars in heroku?
A: Go to heroku
Desktop view
Your app
Settings
Reveal config vars
Add key and value

Credits @XtraTgBot

@TGUserBott
Using the Updater

✌🏻You need to set these two variables in heroku vars..

HEROKU_APP_NAME
It's the name of your app on heroku.

HEROKU_API_KEY
You can get the value for this on
https://dashboard.heroku.com/account look for api key there

How to add vars in heroku?
Please read this.
For those who're having trouble with setting up pmpermit and afk,

Go to heroku
Desktop view
Your app
Settings
Reveal config vars
Add key and value

For pm permit, the keys are-
PRIVATE_GROUP_ID
And
PRIVATE_GROUP_BOT_API_ID

You can get the value for it by making a private group and using the .get_id command in the group. You can use the same value in both.
Tutorial for setting up Autopic

Go to heroku
Desktop view
your app
settings
reveal config vars
Add Value, the key already exists

Key: DOWNLOAD_PFP_URL_CLOCK
Value: upload your image to telegraph/any such site and paste the url

Syntax: .autopic tilt

DISCLAIMER: Using autopic might lead to tg banning your acc so take care.

edit -This no longer works, just reply to a pic with .autopic now.
TeleBot pinned Deleted message
Prerequisites:
A GitHub.com account
A heroku.com account
LYDIA_API_KEY

Create a Intellivoid Account by visiting: https://coffeehouse.intellivoid.net/

Then get your API key and copy it.

This value should be added to Heroku Environment Variable.
After setting up the bot, remember to turn on worker dyno from the resources tab.
Added .disapprove command to disapprove already approved PM's...
Bot has been updated and some new features and fixes have been made. Make sure to update your bot by sending .update in any chat.
New plugin added.
Command - .karb
Output - same as .carbon but provides coloured version of it.

Send .update in any chat to get the new plugin.

〰️ @TeleBotHelp 〰️
Updated afk plugin.
Now it shows the time from when you were afk.
Click here to open this lit af repo.
New plugin added.
Command .ss (a number 'n')
To be used in PM's and not in groups.
What it does - Sends a mssg saying you took a screenshot n number of times.
Send .update to get the plugin.

Credits - @HeisenbergTheDanger

〰️ @TeleBotHelp 〰️
Everyone, pls .update your bot. Slight fixes made to stickers.py

〰️ @TeleBotHelp 〰️
Hello!

Added a new feature to kind of permanently install external plugins without editing your repo on github or having to install each external plugins manually after rebooting bot! Please update your bot.

Steps:~
1. Make a new private channel.
2. Send .get_id in the channel and copy the id.
3.Go to heroku and add the following vars:
Key: PLUGIN_CHANNEL
Value: Your channel's id

4. Upload the external plugins you want to keep in the channel.
5. Use the .extdl command to install all those plugins instantly

That's it! Each time you restart your bot, just send the .extdl command to load all those external modules. For assisstance/review/bugs, come @TeleBotHelpChat

~@TeleBotHelp
Carbon has been made better. Now, each time you use carbon, a random scheme will be shown, along with its name.

SYNTAXES :
1. Reply to a message with .carbon
2. type .carbon text and you'll get a carbon with text, "text" and the colour scheme of the carbon.
3. if you want carbon of a specific scheme, type .carbon text | scheme. You need to know the scheme name ofc.

🔆In case of problems/questions with this, come @TeleBotHelpChat !

A temporary solution..

Add heroku vars.
Key: CHROMEDRIVER_VERSION
Value: 80.0.3987.106

Add these values in heroku vars and then update. Carbon should start working then.
Credits - @anubisxx