-
Notifications
You must be signed in to change notification settings - Fork 3
Hosting
kinglalu edited this page Dec 14, 2021
·
3 revisions
- Clone the repository via your browser or CLI:
git clone https://github.com/kinglalu/Mr.Grape.git
- Luvit:
sudo apt install lua-luv
- Luvit (Add to your system path)
- Youtube Downloader:
sudo apt install yt-dlp
- Sodium and Opus:
sudo apt install libsodium libopus
- SQLite3:
sudo apt install sqlite3 libsqlite3-dev
- Luvit
- Pre-built Sodium and Opus binaries
-
SQLite3Preincluded in source.
- Open Windows Start Menu.
- Type in "Edit the system environment variables"
- Select the first result.
- On the bottom, select "Environment Variables..."
- On User variables, scroll down to "Path"
- Click on path then select the edit button.
- Select a blank entry and write the location to your binaries to add to the system path.
- Press OK on every dialog you opened.
In /config.lua
:
- Replace
apod-key
with your APOD API key from https://api.nasa.gov - Replace
wolfram-key
with your WolframAlpha API key from https://products.wolframalpha.com/api - Replace
bot-token
with your Discord bot token from https://discord.com/developers/applications
- Enter the repository in command prompt
- Start the bot:
luvit main
- If you have pm2, then do
pm2 start grape.sh