| UUID | Username | Farming XP (Today) | Farming XP (One Day Ago) | Farming XP (Two Days Ago) | Farming XP (Three Days Ago) | Total Increase In Three Days |
|---|
Step 1: Download a code editor
I highly recommend VSCode but you can use anything.
Step 2: Download Git
Git is an essential software for controlling software versioning.
Step 3: Clone the repository
- Open the folder you want to initialise the project
- Open the terminal in that folder
- Type: git clone https://github.com/Chizza-Guild/ChizzaBot.git
Step 4: Download Node.js and npm
Node allows JavaScript to run on the backend, and npm allows downloading packages for Node.js
Step 5: Create .env
Create a file named just .env inside the folder.
The contents will look like:
SUPABASE_URL = xxxxx
SUPABASE_SERVICE_ROLE_KEY = xxxxx
HYPIXEL_API_KEY = xxxxx
CODE_RUNNER_NAME = xxxxx
----------------------
For SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY, just paste the stuff in the pinned message.
HYPIXEL_API_KEY needs to be refreshed every day. Go to https://developer.hypixel.net/ , login and grab a fresh key.
CODE_RUNNER_NAME is just your alias. I used "mlg", it will show who is actually running the bot. Pick an alias and try not to change it.
Step 6: Install the requirements
Type: npm install
This command will download the required packages for the bot, which are discord.js and supabase.
Step 7: Run the script
In the terminal, type: node src/script.js
Coming Soon