The Loot and Waifus Bot is a Discord bot designed to manage daily resets and provide various utilities for gacha games. It includes features such as sending daily reset messages, playing music in voice channels, and responding to specific commands with images or text.
- Daily Reset Notifications: Sends messages to a designated channel about daily resets, special interception bosses, and tribe tower alerts.
- 24/7 Music Playback: Connects to a voice channel to play music continuously from a specified folder.
- Command Responses: Responds to specific text commands with images, videos, or text messages.
- Role and Channel Management: Interacts with specific roles and channels to provide tailored experiences.
- A Discord bot account with the necessary permissions.
- Node.js and npm installed on your machine.
- Docker and Docker Compose installed if you plan to run the bot in a container.
Create a .env file in the root of your project directory with the following variables:
WAIFUPORT=8080
WAIFUTOKEN=your_discord_bot_token
CATAPI=your_catapi_token
CLIENTID=your_discord_client_id
-
Install npm packages:
npm install
-
Run the bot in development mode:
npm run dev
-
Build the TypeScript project:
npm run build
-
Run the bot:
npm run start
-
Build and run the Docker container:
docker-compose up --build
-
Stop the Docker container:
docker-compose down
- #nikke Channel: Used for daily reset messages. Ensure the "Nikke" role is set up for notifications.
- #rapi-radio Voice Channel: The bot connects here to play music.
- "Grounded" Role: Users with this role will be ignored by the bot.
- Music Source: Customize the music played by the bot by adding files to the
radiofolder. - Command Customization: Add or modify commands by editing the files in the
src/commandsdirectory.
For more detailed setup and configuration, refer to the official Discord documentation for bot setup and permissions.