-
Notifications
You must be signed in to change notification settings - Fork 98
Use an Android device to host it 24 ⁄ 7
This is a guide to host the bot on an Android device.
If you have an old Android phone lying around, you can use it as a free 24/7 server (without paying for a VPS).
Unless your phone is from 2010, you should have no trouble with performance as the bot is quite optimised. The only problem might be the amount of RAM, but as long as the bot is in less than 100 servers, it won't use more than 100MB (most phones have at least 2GB).
This guide was written by the incredible Zoldrine97! Huge thanks for figuring all this out and writing the guide, much love! ❤️❤️
- Create a Discord bot: https://discord.com/developers/applications
- Invite the bot to your Discord server:
Go to the OAuth2 tab, then click on URL Generator. You'll see a page like this one:
- In the
Scopes
panel, selectapplications.commands
andbot
.
Then in theBot permissions
panel, select the following:
- Read Messages/View Channels
- Send Messages
- Embed Links
- Use External Emojis
- Download the bot files on GitHub: Go to the bot's homepage and click on
Download
in theInstallation
section:
- Install the RAR app:
- Open the Bot files with the RAR application
- Extract the files by clicking on the file and selecting
Extract files...
:
Then select Browse
:
Put it in your main folder and press OK
:
And press OK
again:
- [Optional] Rename the
SknPeek-Master
folder toValorantShop
or similar, so that it will be easier to write later on:
- Open the ValorantShop folder and rename the
config.json.example
file toconfig.json
- Install the Acode app:
- Open the Acode app and click on the 3 dots on the top-right hand corner:
- Press
Files
, and go to your internal storage where the ValorantShop folder is:
Open ValorantShop
then config.json
:
You will the see something like this:
We now need to put your bot token in this file.
- Go back to the Discord Developer portal and open the
Bot
tab:
Press Reset Token
and copy the token.
WARNING:
Never share your token! Anyone with the token can do bad things using your bot. Treat it like your password, and be careful what you do with it.
- Go back to Acode and paste the bot token where it says
token goes here
:
Click on the 3 dots on the top right, and click Save.
15 Now install Temux. Make sure to install it from GitHub and not Google Play Store, because that one is outdated.
Here is the link: https://github.com/termux/termux-app/releases
- Open Temux and write these commands to update Linux as well as other stuff:
-
uname -a
(to check if Linux is installed)
apt update
-
apt upgrade
When asked, pressY
and Enter to continue:
- Now we'll install nodejs in our Linux.
Use the commandpkg install nodejs
. When it asks, typeY
and press Enter.
Now, type the command termux-setup-storage
.
A popup will appear to allow termux to access your files:
- Now use the commands:
cd ../../../../../sdcard/ValorantShop
-
npm i
(to install dependencies)
- Now to turn on the bot. Whenever you want to start it, type the following commands:
-
cd ../../../../../sdcard/ValorantShop
(this command opens the ValorantShop folder) -
node SkinPeek.js
(this command starts the bot)
And if all works, you should see the bot online in Discord!