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
π
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
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
β€4π3π1
π
·π
΄ππ
ΎοΈπ
Ίπ π
π
°οΈππ ππ
΄πππ
ΏοΈ
ββββββββββββββββ
Bot Log Group for your Catuserbot
For functioning of pmpermit, telegraph, restart, shutdown etc.
============================
Heroku vars setup guide : Here
============================
The group is self-made and var is set in new deploys so no need to set var seperately!
But if you want to change your bot log group set the var below β¬
And you can get value by creating a new private group along with any bot like rose and type this message in group
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
ββββββββββββββββ
Bot Log Group for your Catuserbot
For functioning of pmpermit, telegraph, restart, shutdown etc.
============================
Heroku vars setup guide : Here
============================
The group is self-made and var is set in new deploys so no need to set var seperately!
But if you want to change your bot log group set the var below β¬
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
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
π2β€1
π
·π
΄ππ
ΎοΈπ
Ίπ π
π
°οΈππ ππ
΄πππ
ΏοΈ
ββββββββββββββββ
To work
============================
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 ==
And
Key ==
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
ββββββββββββββββ
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 herokuAnd
Key ==
HEROKU_API_KEY
Value == get this value from https://dashboard.heroku.com/accountββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
β€1
π
·π
΄ππ
ΎοΈπ
Ίπ π
π
°οΈππ ππ
΄πππ
ΏοΈ
ββββββββββββββββ
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
=======================================
And you can get value by typing
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
ββββββββββββββββ
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Β»
β€1
AUTONAME
π Profile name changes every minute along with time
For functioning of this plugin you need to a set a var in heroku
=============================
The above one is key now add your profile name as value in other box
Or simply
Finally come to telegram and type .autoname and see magic
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
π Profile name changes every minute along with time
For functioning of this plugin you need to a set a var in heroku
=============================
AUTONAME
=============================The above one is key now add your profile name as value in other box
Or simply
.set var AUTONAME <profile name>Finally come to telegram and type .autoname and see magic
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
π3β€1
Added custom command handler for sudo and main account to customize this you need to do below process
============================
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
============================
And the key is
( just click on it will copy automatic and paste it in heroku)
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
============================
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
============================
And the key is
COMMAND_HAND_LER (for main accounts)SUDO_COMMAND_HAND_LER (for sudo accounts)( just click on it will copy automatic and paste it in heroku)
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
π1
Language codes for ocr plugin
Arabic= ara
Bulgarian: bul
Chinese(Simplified)= chs
Chinese(Traditional)= cht
Croatian = hrv
Czech = cze
Danish =dan
Dutch = dut
English = eng
Finnish = fin
FrenCh = fre
German = ger
Greek = gre
Hungarian = hun
Korean = kor
Italian = ita
Japanese = jpn
Polish = pol
Portuguese = por
Russian = rus
Slovenian = slv
Spanish = spa
Swedish = swe
Turkish = tur
IMPORTANT: The language
code has always 3-letters
(not 2). So it is "eng" and not
"en' .
Arabic= ara
Bulgarian: bul
Chinese(Simplified)= chs
Chinese(Traditional)= cht
Croatian = hrv
Czech = cze
Danish =dan
Dutch = dut
English = eng
Finnish = fin
FrenCh = fre
German = ger
Greek = gre
Hungarian = hun
Korean = kor
Italian = ita
Japanese = jpn
Polish = pol
Portuguese = por
Russian = rus
Slovenian = slv
Spanish = spa
Swedish = swe
Turkish = tur
IMPORTANT: The language
code has always 3-letters
(not 2). So it is "eng" and not
"en' .
For usage of ocr plug-in( extract text from image) you need to set var 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
============================
And the key is
============================
And get var i.e, api for it from the https://ocr.space/ocrapi . And now the usage of it will be as
============================
Tag a image and replay with it with
Syntax =
Example suppose text is English it will be
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
============================
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
============================
And the key is
OCR_SPACE_API_KEY
( just click on it will copy automatic and paste it in heroku)============================
And get var i.e, api for it from the https://ocr.space/ocrapi . And now the usage of it will be as
============================
Tag a image and replay with it with
Syntax =
.ocr <language code> Example suppose text is English it will be
.ocr eng
ββββββββββββββββCα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
π1
For Functioning of Climate plugin you need to setup the heroku vars. follow the following steps
============================
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
============================
And the key is
============================
get the api token from the site https://home.openweathermap.org/api_keys and add it in heroku
============================
syntax :
Cα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
============================
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
============================
And the key is
OPEN_WEATHER_MAP_APPID
( just click on it will copy automatic and paste it in heroku)============================
get the api token from the site https://home.openweathermap.org/api_keys and add it in heroku
============================
syntax :
.climate <city name>
ββββββββββββββββCα΄Ρusα΄ΚΚoΡ β’ πΊ Β«@catuserbot17Β»
π1
I won't say that userbot is safe and its safe to use .it may ban your account
On your risk deploy the userbot . No one are responsible for your ban.
Be sure you read this both
1) check this
2) even this
If you cant take risk just go privacy settings and then click on active sessions and then terminate the userbot session. From then you cant use userbot . If you want to become Userbot again simply. Generate new string session and replace old one in heroku
If you want use to continue userbot but be on to be safe side i may not be sure in this but if you reduce usage of torrent and animation and spam plugins you may be survive
Untill now i haven't seen any x-trat-gbot sub branches or catuserbot has banned
On your risk deploy the userbot . No one are responsible for your ban.
Be sure you read this both
1) check this
2) even this
If you cant take risk just go privacy settings and then click on active sessions and then terminate the userbot session. From then you cant use userbot . If you want to become Userbot again simply. Generate new string session and replace old one in heroku
If you want use to continue userbot but be on to be safe side i may not be sure in this but if you reduce usage of torrent and animation and spam plugins you may be survive
Untill now i haven't seen any x-trat-gbot sub branches or catuserbot has banned
π1
For working of
============================
Go to heroku
Desktop view
Your app
Settings
Reveal config vars
Add key and value
============================
Key is
============================
Create a private channel and type
============================
Then try
USAGE : reply to any message to show it as forworded and no of views
=============================
Cα΄Ρusα΄ΚΚoΡ β’ πΊ
.frwd command you need to set a value in heroku============================
Go to heroku
Desktop view
Your app
Settings
Reveal config vars
Add key and value
============================
Key is
PRIVATE_CHANNEL_BOT_API_ID
VALUE is the channel id ============================
Create a private channel and type
.get_ id to get the channel id and set it in heroku with respective key ============================
Then try
.frwd command USAGE : reply to any message to show it as forworded and no of views
=============================
Cα΄Ρusα΄ΚΚoΡ β’ πΊ
π
ΏοΈπ
»ππ
Άπ
Έπ
½ ππ
ΏοΈπ
³π
°οΈππ
΄
ββββββββββββββββ
VERSION : 2.6.6
=============================
βNew help menu style
βAdded sudo for Some plugins
βNew kind of updater
=============================
Added buttons support {code from uniborg<for cat modified by @sandy1709/@Mrconfused.>
Syntax:
β Follows html markdown and buttons will be like [button title]<buttonurl: your url here>
β Common scence is your bot{the bot you used for help menu} must be in that group or channel with admin rights to work this [where you using cbutton command there that bot(the bot created for userbot via @botfather must be present with writing message permission ]
=============================
JUST DO
1. Do .update now first
2. then try yourself
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ
ββββββββββββββββ
VERSION : 2.6.6
=============================
βNew help menu style
βAdded sudo for Some plugins
βNew kind of updater
=============================
Added buttons support {code from uniborg<for cat modified by @sandy1709/@Mrconfused.>
Syntax:
.cbutton
Example: Check thisβ Follows html markdown and buttons will be like [button title]<buttonurl: your url here>
β Common scence is your bot{the bot you used for help menu} must be in that group or channel with admin rights to work this [where you using cbutton command there that bot(the bot created for userbot via @botfather must be present with writing message permission ]
=============================
JUST DO
1. Do .update now first
2. then try yourself
ββββββββββββββββ
Cα΄Ρusα΄ΚΚoΡ β’ πΊ
π1π€©1