Lofi girl bot's source code
This repository is the source code of Lofi Girl bot
The bot uses Amethyst JS framework
Here are the usefull links for Lofi Girl :
There's some important informations you need to know :
- This bot isn't the official bot of Lofi Channel, I'm not affiliate with Lofi Channel in any way
- For now the bot is still in developpement
- The code is open source and you can use it as you want
If you want to use it in a personnal usage, first download yarn (if you don't have, run npm i -g yarn
)
Then you need to install the dependencies : yarn install
See ./env.example
to see what the .env
file should look like
Create a .env
file that includes :
token=Your bot's token
feedback=feedback webhook URL
botOwner=your discord ID
suggestChannel=music suggestions channel (for bot Owner)
botPrefix=bot prefix (default is lf!)
panelChannel=ID of panel channel for the owner
Compile the project : yarn run build
And start the bot : yarn run start
There's a npm script that you can use to check if the configs.json
file contains duplicated files
Use node run duplicates
in the command prompt to run the script.
The script will build the project and check for duplicates.
If a station is duplicated, it will throw an error.
There is a panel to control the bot
It will be sent in the channel defined by the panelChannel
field in .env
file