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
❀4πŸ‘3😁1
Catuserbot was developed from Uniborg,xtratgbot repos ,and ravana repo

Huge Thanks to @anubisxx, @r4v4n4 , @spechide and @null7410
❀3
This media is not supported in your browser
VIEW IN TELEGRAM
❀4
πŸ…·πŸ…΄πŸ†πŸ…ΎοΈπŸ…ΊπŸ†„ πŸ†…πŸ…°οΈπŸ†πŸ†‚ πŸ†‚πŸ…΄πŸ†ƒπŸ†„πŸ…ΏοΈ
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
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 .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Β»
❀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 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

=============================
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


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' .
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


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


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
125 forks πŸ₯³
πŸ‘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
πŸ‘1
This media is not supported in your browser
VIEW IN TELEGRAM
Thanks to everyone for 150 forks πŸ₯³
For working of .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Ρ‚ β„’ 😺
Thanks friends now it crossed 200 forks
This media is not supported in your browser
VIEW IN TELEGRAM
πŸ…ΏοΈπŸ…»πŸ†„πŸ…ΆπŸ…ΈπŸ…½ πŸ†„πŸ…ΏοΈπŸ…³πŸ…°οΈπŸ†ƒπŸ…΄
βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–βž–
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