- Customising Bot /start Message
- Changing Bot Commands
- Changing Max Allowed Downloads & Set Auto Cancel Time If No Seeders Available
- Customising Bot Message When Bot Auto Cancels the Torrent Due to No Seeders are Available
- Customising Bot Stats Message
- Customising Mirror Status
- Customising Mirror Progress Bar
- Customising Bot status Message
- Customising Bot After Download Complete Message
In Order to Customise Bot Start Message You have to Edit few lines in __main__.py
file.
You Can Find __main__.py
File Here ⬇️
MirrorX/bot/__main__.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/__main__.py
In Order to Customise the way you want the start Message of Bot, modify line 46
& line 47
from __main__.py
file
🔗 Line 46 can be Opened from here
Below is the Just an Example of How I Customised start message of my Bot. This is Just to Give you an Idea, You can Customise as You like.
In Order to Customise Bot Commands, You have to Edit Commands in bot_commands.py
File.
You Can Find bot_commands.py
File Here ⬇️
MirrorX/bot/helper/telegram_helper/bot_commands.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/helper/telegram_helper/bot_commands.py
I Changed My Bot Commands Like Following. You Can easily understand by looking at & edit as you want them.
In Order to Change Max Allowable Torrents at a Time & Auto Cancel If No Seeders are Available, You Have to Edit aria.sh
file
You can limit maximum concurrent downloads by changing the value of MAX_CONCURRENT_DOWNLOADS
in aria.sh
file. By default, it's set to 7
You can Set the Bot to Auto Cancel a Torrent, If No Seeders are Available by changing the value of --bt-stop-timeout
in aria.sh
file. By default, it's set to 1200. ( It means after 1200 Seconds, Torrent will get Auto Cancelled)
You Have to remove --bt-stop-timeout=1200
from Line 17
in aria.sh
file.
🔗 Line 17 Can be Opened from Here
See the Below Image and Remove the High Lighted Text from aria.sh
In Order to edit Bot Auto Cancel Message, You Have to Edit aria2_download.py
file.
You Can Find the aria2_download.py
file Here ⬇️
MirrorX/bot/helper/mirror_utils/download_utils/aria2_download.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/helper/mirror_utils/download_utils/aria2_download.py
The Line Which You Have to Edit is Line 65
🔗 Line 65 can be opened from here
This is How I Modified Auto Cancel Message. You Can Modify as You Like.
𝐘𝐨𝐮𝐫 𝐓𝐨𝐫𝐫𝐞𝐧𝐭 𝐇𝐚𝐬 𝐍𝐨 𝐒𝐞𝐞𝐝𝐬, ⚠️ 𝐃𝐞𝐚𝐝 𝐓𝐨𝐫𝐫𝐞𝐧𝐭 !
In Order to Customise stats Message, You have to Edit few lines in __main__.py
file.
You Can Find __main__.py
File Here ⬇️
MirrorX/bot/__main__.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/__main__.py
The Lines Which You Have to Edit are from Line 31
to Line 39
. You can Customise the emojis and Words .
🔗 Line 31 to 39 can be opened from here
In Order To Customise MirrorStatus, You Have to Edit Line 17
to Line 23
in bot_utils.py
file.
You Can Find bot_utils.py
File Here ⬇️
MirrorX/bot/helper/ext_utils/bot_utils.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/helper/ext_utils/bot_utils.py
🔗 Line 17 to 23 can be opened from here
In Order To Customise Mirror Progress Bar, You Have to Edit Line 27
,Line 84
& Line 87
in bot_utils.py
file.
You Can Find bot_utils.py
File Here ⬇️
MirrorX/bot/helper/ext_utils/bot_utils.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/helper/ext_utils/bot_utils.py
🔗 Line 27
In Line 27 Replace ▓
with the character of your Choice. This Character is Seen When Download Completes.
🔗 Line 84
In Line 84 Replace ▓
with the character of your Choice. This Character will Indicate the Downloaded Part.
🔗 Line 87
In Line 84 Replace ░
with the character of your Choice. This Character Will Indicate the Incomplete Download Part
In Order To Customise Bot status Message, You Have to Edit Line 96
to Line 112
in bot_utils.py
file.
You Can Find bot_utils.py
File Here ⬇️
MirrorX/bot/helper/ext_utils/bot_utils.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/helper/ext_utils/bot_utils.py
In Order To Customise Bots Message after Downnload Complete, You Have to Edit Line 149
to Line 177
in mirror.py
file.
You Can Find mirror.py
File Here ⬇️
MirrorX/bot/modules/mirror.py
or
https://github.com/iamLiquidX/MirrorX/blob/master/bot/modules/mirror.py
🔗 Line 149