Find a file
David Heslière fe56566a77
chore: 📃 Fix typo
2025-12-14 18:15:23 +01:00
legal chore: 🚚 Rename privaty policy 2023-03-12 16:25:28 +01:00
src feat: 🚧 Works in progress 2025-06-28 17:28:10 +02:00
.env.example chore: 🎉 Start v2 2025-06-28 11:55:52 +02:00
.eslintrc.json chore: 🎉 Restart project 2022-11-20 12:12:55 +01:00
.gitignore chore: 🙈 Ignore creditentials file 2025-06-28 12:08:13 +02:00
.prettierrc.json chore(deps): Add prettier 2022-11-02 09:12:50 +01:00
environment.d.ts feat: 🚧 Works on the bot 2025-06-28 17:03:54 +02:00
package.json feat: 🚧 Works on the bot 2025-06-28 17:03:54 +02:00
README.md chore: 📃 Fix typo 2025-12-14 18:15:23 +01:00
renovate.json Add renovate.json 2023-10-27 12:59:43 +00:00
tsconfig.json feat(dev): 🔨 Add duplicate file checker 2022-11-28 19:36:21 +01:00
yarn.lock feat: 🚧 Works on the bot 2025-06-28 17:03:54 +02:00

lofi-girl

Lofi girl bot's source code

This repository is the source code of an Amateur Lofi Girl bot, not affiliated in any way with Lofi Girl The bot uses Amethyst JS framework

Here are the usefull links for Lofi Girl :

Important informations

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

Installation

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

Command

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.

Panel

There is a panel to control the bot

It will be sent in the channel defined by the panelChannel field in .env file panel