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
and
👉 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.
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
(even emojis xD)
Present one is . (default)
Set the value using
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
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
DO NOT add unknown people as Sudo users, they will be able to access your data.
Invoking Sudo Commands is by using !{cmd}
Eg -
➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Removed PMPermit for sometime, will add new one soon.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
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
Added a much more improved, minimalistic PMPermit. 🎉
Commands -
Set the var
(Just like ALIVE_PIC)
Do
And, yeah, it is customisable. Set var
(Do it from heroku vars)
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
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 -
➖➖➖➖➖➖➖➖➖➖➖
Modified the web search plugin.
Commands -
➖➖➖➖➖➖➖➖➖➖➖
Changed the pmpermit pic 😁
➖➖➖➖➖➖➖➖➖➖➖
Changed stickers plugin, to fix new pack error while kanging animated stickers.
Commands -
➖➖➖➖➖➖➖➖➖➖➖
Use
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
➖➖➖➖➖➖➖➖➖➖➖
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 -
➖➖➖➖➖➖➖➖➖➖➖
Added stickerize plugin, to make sticker outof any pic.
Syntax -
➖➖➖➖➖➖➖➖➖➖➖
Added sudo to some more plugins.
➖➖➖➖➖➖➖➖➖➖➖
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
➖➖➖➖➖➖➖➖➖➖➖
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
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
See these messages.
Those who revoked session, please make the session again and add it in vars.
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
Added 2 new plugins.
Sample - .mood Offline - changes your name to Offline {name}
Many are running on old versions, please use
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
.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.
Doubts/Support - @TeleBotHelpChat
© @TeleBotSupport
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 enableDoubts/Support - @TeleBotHelpChat
© @TeleBotSupport
Updates...
Fixed superfban for all.
For the ones getting errors, follow this message.
===================
Added some more data to
© @TeleBotSupport
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
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
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
Vote here if it is suspended again!
Please report to @TeleBotHelpChat in case of further app suspensions.
© @TeleBotSupport
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
© @TeleBotSupport
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
How and when to release updates?
Anonymous Poll
75%
Post about every small update as soon as it's released. (Like now)
25%
Release a single update each month 🚶
Updates
Added revel and repack plugin.
Use
Use
➖➖➖➖➖➖➖➖➖➖
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
© @TeleBotSupport
Added revel and repack plugin.
Use
.reveal
as a reply to a file to show the contents in that fileUse
.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