Altruix | A Modern yet simple UserBot which is based on Pyrogram. Built By The Developers Of Friday Userbot.
- For deploying Locally
If you want to Deploy your Altruix UserBot on your PC or in Termux these are the steps -
git clone https://github.com/Altruix/Altruix cd Altruix nano .env bash start.sh
Example of .env
It's not necessary until you host the bot. You can get the String Session after you are done with hosting. Just run the Altruix Assistant bot and walk through the steps.
Following are the required variables for the proper working of userbot, note down these somewhere for easier access so that you may use them in future:
These are used to communicate with the telegram servers. You can get you your
API_HASH
andAPI_ID
from Telegram by following the given steps:
- Go to my.telegram.com.
- Login via adding your mobile number in the international format i.e
+00 9876543210
.- You will receive an
11
character alphanumeric code via the Telegram App. Input this code into the input field and proceed.- Now click on API development tools.
- Here you may add an
App title
and aShort name
for it (they can be anything). Note down theAPP api_id
andAPP api_hash
for future use. Scroll down to the end of the page and click onSave changes
button.
API_ID
These are used to communicate with the telegram servers. You can get you your
API_HASH
andAPI_ID
from Telegram by following the given steps:
- Go to my.telegram.com.
- Login via adding your mobile number in the international format i.e
+00 9876543210
.- You will receive an
11
character alphanumeric code via the Telegram App. Input this code into the input field and proceed.- Now click on API development tools.
- Here you may add an
App title
and aShort name
for it (they can be anything). Note down theAPP api_id
andAPP api_hash
for future use. Scroll down to the end of the page and click onSave changes
button.
API_HASH
It's used to control your bot's actions etc. You can get your
BOT_TOKEN
for your bot by following the given steps:
- Go to @BotFather.
- Do
/start
->/newbot
- You'll be prompted to choose a name for your bot (it can be anything).
- You'll be prompted to choose a username name for your bot (it can be anything but should end with suffix
bot
).- Your bot with the above details will be made! And a message containg your bots api token will also be sent.
BOT_TOKEN
TO BE DONE
DB_URI
It's used to tell your bot who is the owner of this bot and whom commands it should fulfil. Only the person with this ID can give the bot command to add more sessions to the database via
/add
.
- Go to @MissRose_Bot.
- Do
/start
->/info
- You'll receive a message containing your ID.
OWNER_ID
Currently Running Stable version of Altruix.
Is our project under active maintenance?
Developers aka Contributors for the Project.