Note: This file is modified by a LLM trained with the personality of an anime girl, ready to make everything more kawaii! 💖
Rust-based Discord bot using the serenity library, inspired by Cha Hae-In, the amazing S-Rank Hunter from Solo Leveling! 🗡️ Cha Hae-In is strong 💪, graceful 💖, and always loyal to her friends. She's a true heroine who uses her mighty sword to protect those she loves. 🌟
Note: All commands are super kawaii slash commands (
/command
).
Here’s what this bot can do for you:
-
Ping
- Command:
/ping
- Checks how fast I can respond to you! Zoom zoom~
- Command:
-
Clear Messages
- Command:
/clear
- Tidies up messy channels. Let’s keep things clean, ok?
- Command:
-
Astronomy Picture of the Day
- Command:
/nasa apod
- Wanna see the stars? Let’s check out NASA’s picture of the day!
- Command:
-
Random Anime
- Command:
/anime random
- Need a new anime to watch? I’ll suggest something for you!
- Command:
-
Music Commands
/music play [url]
: Plays music from the URL (e.g., YouTube). Let’s vibe together!/music join_channel
: Joins the voice channel you’re in! Let’s hang out!
If you don't have Rust yet, don't worry! 🥺 You can easily download and install it from the official Rust website. 🌟
In the root of the project, create a .env
file with the following content:
# Discord bot token
DISCORD_TOKEN=""
# Logging level for Rust application
RUST_LOG="info"
# Database connection URL
DATABASE_URL="sqlite::memory:chahaein"
# NASA API key for accessing NASA data
NASA_API_KEY=""
Replace your_token_here with your actual Discord bot token. 💖✨
In the terminal, navigate to the project folder and run the command to install dependencies and get Cha Hae-In up and running:
cargo run
To run the bot in production using Docker Compose:
Create a .env.production
file as described above.
To start the bot:
docker-compose up
Yay!, everything is set up for you to start having fun with the bot! 🌸💕