Interaction support for LofiGirl3
it contains application commands (aka. slash commands) supports, Message Components supports and LofiGirl restapi client.
due to discord.js v13
and other modules, this repository only supports node.js v16
.
If you're interested in the translation project, please visit here:
https://github.com/lofi-with-discord/LofiGirl-i18n
This repository is a part of LofiGirl v3
project.
This repository and Discord bot named lofi girl
is not related to this youtube channel.
Please stop asking me about is this official bot.
if you need self-hosting or debug some stuffs, follow these instructions
RUN playserver BEFORE FOLLOWING THESE INSTRUCTIONS
node.js
(version 16.x or later)yarn
(version 1.x)mariadb
ormysql
(latest)LofiGirl3-playserver
(it must be already running)
git clone https://github.com/lofi-with-discord/LofiGirl3-interactions.git
cd LofiGirl3-interactions
yarn # it will take some times
git submodule update --init # updates localization files
wget https://raw.github.com/lofi-with-discord/LofiGirl3-playserver/main/database.sql
sudo mariadb
> source database.sql
> exit
cp .env.example .env
and edit .env
file:
DISCORD_TOKEN=<discord bot token>
DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_USER=lofigirl
DATABASE_PASSWORD=
DATABASE_SCHEMA=lofigirl
CONTROL_HOST=<playserver ip or url>
CONTROL_PORT=<playserver port or ports seperated with comma>
CONTROL_PASSWORD=<playserver password>
ENVIROMENT=DEV
ENVIROMENT_DEV_GUILD=<guild id for development>
REFRESH_SLASH_COMMAND_ON_READY=true
yarn build # build typescript file to javascript
yarn start # run built javascript file
Copyright (c) 2021 Lofi with Discord
see license file.
Maintainer: Park Min Hyeok
- Email: [email protected]
- Discord: https://discord.gg/WJRtvankkB