Telegram Web Link
​​How to deploy TeleBot

Deploying to heroku

👉 Make a heroku account from here.

👉 Make a GitHub account (optional)

👉 Get your APP_ID and API_HASH from here.

👉 Get your session string from any of the below sites -

🔗 Repl 1 🔗

🔗 Repl 2 🔗

🔗 Repl 3 🔗

👉 Make a bot using @BotFather and turn on the inline mode from bot settings.

👉 Make a private group on telegram, make chat history for new members visible (to make it a supergroup). Now add @TeleBotHelpBot to it and send /id to get the group id, for
PRIVATE_GROUP_BOT_API_ID
and
PRIVATE_GROUP_ID

👉 Now go to the deploy page in heroku and follow the on-screen-steps.
Watch this video tutorial for help regarding deploying.

👉 More help available in @TeleBotHelpChat

👉 Know how to view logs - @telesupport_ch

🤔 All variables and their explanations can be found here.
Major Updates 🎉

Version 3.0


Fixed Command handlers. Now you can set the value of CMD_HNDLR to your desired character to run the bot commands using that character.
(even emojis xD)

Present one is . (default)

Set the value using .set var CMD_HNDLR {character}

If the bot crashes (or runs cmds without any handler) on adding a handler, just change its value to \{character}. Adding a \ before will fix it...


Added revert command for clone.
Moved most animation plugins to one file.
Fixed decide.

Other small changes too!!


Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
Updates 🎉

Version 3.5


Added Sudo to admin plugins, will be adding to more soon.


Set var SUDO_USERS with the user id of the other person. (Get it by .u)
DO NOT add unknown people as Sudo users, they will be able to access your data.

Invoking Sudo Commands is by using !{cmd}
Eg - !alive
You can change the value of that by setting var SUDO_HNDLR

.set var SUDO_HNDLR , will set Sudo handler to , from ! (default)



Removed PMPermit for sometime, will add new one soon.



Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
100 forks completed 🎉

Thanks for the support guys!!

© @TeleBotSupport
This media is not supported in your browser
VIEW IN TELEGRAM
Added a much more improved, minimalistic PMPermit. 🎉

Commands -
.approve
.block
.disapprove
.listapproved

You can also set your own custom PMPermit pic now.
Set the var PMPERMIT_PIC with the link to the pic.
(Just like ALIVE_PIC)

Do .update now to get it.

And, yeah, it is customisable. Set var CUSTOM_PMPERMIT to the text you want.
(Do it from heroku vars)

Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
🎉 Updates 🎉


Added bit.ly url shortner plugin.
Get you API from bit.ly for this to work.
Syntax -
.bitly link



Modified the web search plugin.
Commands -
.ggl
.go
.duckduckgo



Changed the pmpermit pic 😁



Changed stickers plugin, to fix new pack error while kanging animated stickers.
Commands -
.kang
.kang (emoji)



Use .update now to update.

Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
Updates 🎉



Added fban plugin, for mass-banning in all the feds you are admin in, in one go.
Read this to learn how to use it.

Syntax -
.superfban <ID> <Reason>
.superunfban <ID>



Added stickerize plugin, to make sticker outof any pic.
Syntax - .stickerize as reply to a pic.



Added sudo to some more plugins.



Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
Do not deploy the bots now!

Same situation, again.

Terminate your sessions, will tell when to add back...

Regards, @TeleBotSupport
You can deploy now without any tension. All who were banned are now unbanned, without losing any of their data...

See these messages.

Those who revoked session, please make the session again and add it in vars.

Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
Option to disable pmpermit?
Anonymous Poll
68%
Yeah, sure 😁
32%
Not needed 😐
Added 2 new plugins.

.mood text - To set your present mood.
Sample - .mood Offline - changes your name to Offline {name}

.stats - To see the stats of your bot.

Many are running on old versions, please use .update now to update your bots!

Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
Ability to disable PMPermit.

Set var PMSECURITY to "off" to disable, to "on" to enable PMPermit.
By default, it is on.

.set var PMSECURITY off - to disable
.set var PMSECURITY on - to enable

Doubts/Support - @TeleBotHelpChat

© @TeleBotSupport
Updates...

Fixed superfban for all.
For the ones getting errors, follow this message.
===================
Added some more data to
.stats

© @TeleBotSupport
New!

Try typing your bot name (botfather bot) and click on the pop-up that comes 😜

Eg bot - @datelebot (mine, you may use yours)

© @TeleBotSupport
Heroku is suspending userbot apps.
Why? - I don't know.

Removed aria2 from the repo, just in case it was the ban reason.
Also, some people told that forking the repo and deploying didn't ban their app, try that too.
OR Try this.

Was your app suspended? Vote here.

© @TeleBotSupport
Changed the docker, now runs on Kali Linux.

Removed aria2p and rclone, which were possibly the reasons for the app suspensions.

Those whose bots are working, do .update now, others please deploy again, sorry for the inconveniences.

Vote here if it is suspended again!

Please report to @TeleBotHelpChat in case of further app suspensions.

© @TeleBotSupport
Small Update 🎉

Number of messages that can be sent in PM before auto block is now customisable. By default, it is 3.

Use .set var MAX_SPAM 2 to set it to 2, and so on...

© @TeleBotSupport
Updates

Added revel and repack plugin.
Use .reveal as a reply to a file to show the contents in that file
Use .repack filename.extension as a reply to a code or text to pack it in a file. "filename" is the name of the file and "extension" is the file extension, like .txt, .py ....


Fix stickers plugin. Users with autoname or mood enabled were unable to kang stickers. (this might lead to a new pack creation, again)


PMSecurity updated, now it shows the number of warns a person has when PMing you.

Use .update now to update your bots. It takes some time, coz on a diff docker 😆

© @TeleBotSupport
2025/07/02 02:05:32
Back to Top
HTML Embed Code: