mirror of https://github.com/coddrago/Heroku
added strings for installation
parent
0c5ebe9d45
commit
1736e66ca2
|
@ -229,7 +229,14 @@ presets:
|
|||
|
||||
settings:
|
||||
name: "Settings"
|
||||
choose_installation: ""
|
||||
installation: "<emoji document_id=5363805650327450240>▪️</emoji> The installation is very easy! Just enter the following in your servers terminal:\n<pre><code class=\"language-bash\">sudo apt update && sudo apt upgrade -y && sudo apt install git && sudo apt install python3-pip && git clone https://github.com/coddrago/Heroku && cd Heroku && pip install -r requirements.txt && python3 -m hikka</code></pre>\n<emoji document_id=5299027123913105700>😐</emoji> If you dont have sudo access, simply remove the initial steps.\n\n<emoji document_id=5300777464820145682>🥳</emoji> Lets go over a few arguments:\n\n<emoji document_id=5787313834012184077>🔐</emoji> The <code>--root</code> argument allows you to run Heroku as a <b>root user</b>.\n\n<emoji document_id=5785209342986817408>🌎</emoji> The <code>--no-web</code> argument enables login to your account <b>directly in the terminal, rather than through a link</b> <code>{}.lhr.life</code>.\n\n<emoji document_id=5471895949804575096>🤲</emoji> However, if you want to migrate from hikariatama Hikka, download this module:\n<pre><code class=\"language-heroku\">{prefix}dlm https://raw.githubusercontent.com/coddrago/modules/main/SwitchToHeroku.py</code></pre>\nIt completely safe and will help you upgrade to Heroku automatically"
|
||||
termux_install: "😲 <b>How to install Heroku on Termux?</b>\n⬜️ <b>Download Termux from</b> <a href="https://f-droid.org/repo/com.termux_118.apk">the link</a> <b>. ⚠️ The version from Play Market will not work!</b>\n⬜️ <b>Copy the command into it:</b> <code>termux-wake-lock && export AIOHTTP_NO_EXTENSIONS=1 && pkg upgr -y && pkg install tur-repo && pkg update && pkg install python3.10 && pkg i wget ncurses-utils python3.10 -y && pkg update && pkg install openssl -y && pkg install git && clear && git clone https://github.com/coddrago/Heroku && cd Heroku && pip install -r requirements.txt && python3.10 -m hikka --no-web</code>\n⬜️ <b>Answer "y" to everything the script asks</b>\n⬜️ <b>Follow the instructions in the script.</b>\n\n⬜️ <b>Where to get API_ID and API_HASH?</b> 🎬 <a href="https://youtu.be/DcqDA249Lhg?t=24">Video</a>"
|
||||
vds_install: "<pre><code class="language-bash">sudo apt update && sudo apt upgrade -y && sudo apt install git && sudo apt install python3-pip && git clone https://github.com/coddrago/Heroku && cd Heroku && pip install -r requirements.txt && python3 -m hikka</code></pre>"
|
||||
railway_install: "Image for RailWay:\nhttps://railway.com/template/2YO_QL?referralCode=RfzFur\n\nBe careful! Any userbots are officially prohibited on RailWay, if your account is banned, neither the creator nor other people are to blame for this."
|
||||
jamhost_install: "Proceed to @jamhostbot, type <code>/pay</code> and follow its instructions"
|
||||
module_switch: "<pre><code class="language-heroku">dlm https://raw.githubusercontent.com/coddrago/modules/main/SwitchToHeroku.py</code></pre>"
|
||||
userland_install: "<b>Install UserLAnd from</b> <a href="https://play.google.com/store/apps/details?id=tech.ula">the link</a>\n\n<b>Open it, choose Ubuntu —> Minimal —> Terminal</b>\n\n<b>Wait for the distribution to install, you can pour some tea</b>\n\n<b>After successful installation, a terminal will open in front of you, write there:</b>\n<pre><code class="language-shell">sudo apt update && sudo apt upgrade -y && sudo apt install python3 git python3-pip -y && git clone https://github.com/coddrago/Heroku && cd Heroku && sudo pip install -r requirements.txt && python3 -m hikka</code></pre>\n\n<b>At the end of the installation, a link will appear, follow it and enter your account details to log in.\n\nVoila! You have installed Heroku on UserLAnd.</b>"
|
||||
too_many_args: "<emoji document_id=5210952531676504517>🚫</emoji> <b>Too many args</b>"
|
||||
blacklisted: "<emoji document_id=5197474765387864959>👍</emoji> <b>Chat {} blacklisted from userbot</b>"
|
||||
unblacklisted: "<emoji document_id=5197474765387864959>👍</emoji> <b>Chat {} unblacklisted from userbot</b>"
|
||||
|
|
|
@ -292,7 +292,9 @@ class CoreMod(loader.Module):
|
|||
|
||||
args = utils.get_args_raw(message)
|
||||
|
||||
if not args:
|
||||
if not args and not self.inline.form(
|
||||
self.strings("choose_installation")
|
||||
):
|
||||
await self.client.send_file(
|
||||
message.peer_id,
|
||||
"https://imgur.com/a/HrrFair.png",
|
||||
|
@ -309,5 +311,3 @@ class CoreMod(loader.Module):
|
|||
await utils.answer(message, self.strings["module_switch"])
|
||||
elif "-u" in args:
|
||||
await utils.answer(message, self.strings["userland_install"])
|
||||
|
||||
await message.delete()
|
||||
|
|
Loading…
Reference in New Issue