A simple Telegram userbot based on Telethon .
How to deploy LionX
Heroku Deploy
Railway Deploy
Variables
ALIVE_NAME
= Your alive NameAPP_ID
= Get this value from my.telegram.orgAPI_HASH
= Get this value from my.telegram.orgSTRING_SESSION
= Get this by using Repl.it or from terminalLOGGER_ID
= Make A Channel And Get it’s ID.TG_BOT_TOKEN
= Make A Bot From BotFather and paste it’s token.TG_BOT_USERNAME
= Get the username of that Bot made from BotfatherCOMMAND_HAND_LER
= Your command handler.DATABASE_URL
= A Postgresql database url.
LionX Session
Deploy on Railway
- Get all the necessary variables and deploy on railway.
- Every mandatory variables are listed Here.
- Please note that YoutubeDL won’t work on railway deploys.
- You won’t be able to update your bot. To update you’ll have to deploy again. I’ll find a method to update through railway soon.
- Due to railway’s privacy policy I removed railway button from repo. But you can get deploy link in our LionXSupport. Type
#railway
to get deploy link.
Repl
- Open Repl Link.
- Click on Start.
- Choose Telethon.
- Fill API ID, API HASH, Phone number (with country code).
- Paste the OTP received on Telegram.
- If You have Enabled 2-Step Verification then fill your password.
- Your Lion X Session Will be saved in your Telegram Saved Message.
- There’s a bug in repl which prints your input twice or more.So You Can Use String Bot Now
Disclaimer
- We won’t be responsible for any kind of ban due to this bot.
- LionX was made for fun purpose and to make group management easier.
- It’s your concern if you spam and gets your account banned.
- Also, Forks won’t be entertained.
- If you fork this repo and edit plugins, it’s your concern for further updates.
- Forking Repo is fine. But if you edit something we will not provide any help.
- In short, Fork At Your Own Risk.
Page
Support
Full Credit Goes to LionXDevs And CatUserbot