Skip to content

whykusanagi/rapi-bot

 
 

Repository files navigation

Loot and Waifus Bot

Overview

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.

Key Features

  • 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.

Prerequisites

  • 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.

Environment Variables

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

Running the Bot Locally

Development Mode

  1. Install npm packages:

    npm install
  2. Run the bot in development mode:

    npm run dev

Production Mode

  1. Build the TypeScript project:

    npm run build
  2. Run the bot:

    npm run start

Running the Bot with Docker

  1. Build and run the Docker container:

    docker-compose up --build
  2. Stop the Docker container:

    docker-compose down

Setting Up Discord Channels and Roles

  • #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.

Additional Information

  • Music Source: Customize the music played by the bot by adding files to the radio folder.
  • Command Customization: Add or modify commands by editing the files in the src/commands directory.

For more detailed setup and configuration, refer to the official Discord documentation for bot setup and permissions.

About

Loot & Waifus YouTube channel bot for Discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 100.0%