Catuserbot
Open in Telegram
Repo: https://github.com/TgCatUB/catuserbot @catuserbot
Show moreThe country is not specifiedTechnologies & Applications11 198
9 611
Subscribers
-324 hours
-647 days
-39930 days
Posts Archive
9 611
π
·π
΄ππ
ΎοΈπ
Ίπ π
π
°οΈππ ππ
΄πππ
ΏοΈ
ββββββββββββββββ
For logging all your personal messages in telegram you need to set a values in heroku
πΊπΊπΊπΊπΊπΊπΊπΊπΊπΊπΊπΊπΊ
Go to heroku
Desktop view
Your app
Settings
Reveal config vars
Add key and value
=======================================
Key is
PM_LOGGER_GROUP_ID
VALUE is the group id where your personal messages want to save
=======================================
And you can get value by typing .get_id in group
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»9 611
π
·π
΄ππ
ΎοΈπ
Ίπ π
π
°οΈππ ππ
΄πππ
ΏοΈ
ββββββββββββββββ
To work
.update you need to set 2 vars in heroku
============================
Go to heroku
Desktop view
Your app( it mean click on the app name you given when you are creating userbot)
Settings
Reveal config vars
Add key and value
============================
Key == HEROKU_APP_NAME
Value == your app name given by you in heroku
And
Key == HEROKU_API_KEY
Value == get this value from https://dashboard.heroku.com/account
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»9 611
π
·π
΄ππ
ΎοΈπ
Ίπ π
π
°οΈππ ππ
΄πππ
ΏοΈ
ββββββββββββββββ
For pmpermit and telegraph functioning you need to set 2 values in heroku
============================
Go to heroku
Desktop view
Your app
Settings
Reveal config vars
Add key and value
============================
Key's are
PRIVATE_GROUP_ID
the above key is needed for functioning of pmpermit if need pmpermit add it or dont add
and the below key is needed for all other functions i recommand you to add this
PRIVATE_GROUP_BOT_API_ID
============================
And you can get value by creating a new private group along with any bot like rose and type this message in group .get_id
Here are both have same values
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»9 611
instead of whole process in termux you can simply do this and string session will be saved in your saved messages
9 611
9 611
How to Deploy your UserBot to Heroku by termux
See this video for better understanding.
YOU ABSOLUTELY MUST Follow entire steps below
π Install this application from Google Play
π Now open Termux and copy paste below two commands
π
termux-setup-storage
π pkg install python git openssl wget -y && pip install telethon && wget https://raw.githubusercontent.com/sandy1709/catuserbot/master/stringsetup.py && python3 stringsetup.py
π Now Follow the OnScreen prompts like App Id , Api Hash & phone number or bot token
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 change to Desktop view and fork it and then click on deploy to heroku
π App name, ALIVE_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.
π Then 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.
@catuserbot17
Thanks for @SpEcHiDe for writing this out