An open API service indexing awesome lists of open source software.

https://github.com/ouosama/yae-bot

Yae: ⚑ Open-source | 🎢 Easy-to-use | 🌐 Multifunction Discord Bot ✨
https://github.com/ouosama/yae-bot

biome biomejs bun discord discord-bot discord-music-bot genshin-impact lavalink lavalink-music-bot seyfert typescript yae

Last synced: about 1 month ago
JSON representation

Yae: ⚑ Open-source | 🎢 Easy-to-use | 🌐 Multifunction Discord Bot ✨

Awesome Lists containing this project

README

          

![Logo](assets/YAE.png)


License
Stars

🦊 β€œYAE β€” Your All-in-one Discord Music Companion” 🌸

### πŸ“‹ Prerequisites
Before awake Yae, make sure you have the following installed:
- 😸 **[Git](https://git-scm.com/)** – Version Control
- ⚑ **[Bun](https://bun.sh/)** – super fast JavaScript/TypeScript runtime
- 🐳 **[Docker](https://www.docker.com/)** – required for running Lavalink audio server
- πŸ”‘ **Discord Bot [Token](https://discord.com/developers/docs/intro)** – create a bot in Discord Developer Portal

## πŸš€ Getting Started

### πŸ’» Installation

Clone the project

```bash
git clone https://github.com/OuOSama/YAE-BOT.git yae
```

Go to the project directory

```bash
cd yae
```

Install dependencies

```bash
bun install
```


Setup Lavalink and Yae


## πŸ“ Configuration
To run this project, copy `.env.example` into the **root project directory** and rename it to `.env.local`.

> ⚠️ **Important:** Make sure to fill in all required values inside `.env.local` before running the project.

Make sure your `.env.local` contains:

```env
# πŸ”‘ Discord Bot Token
TOKEN = your_discord_bot_token

# 🎡 Lavalink Config
HOST = localhost
PASSWORD = youshallnotpass
PORT = 2333
SECURE = false
```

and then
```bash
bun run lavalink-setup
```


Awake YAE!


```bash
bun run dev
```

## 🎯 Usage

Once Yae is running, invite the bot to your Discord server and use the following commands:

| Command | Description |
|-------------------|------------------------------------|
| `/play ` | 🎡 Play a song |
| `/pause` | ⏸️ Pause current track |
| `/resume` | ▢️ Resume playback |
| `/stop` | ⏹️ Stop playback and clear queue |
| `/destroy` | πŸ—‘οΈ Destroy music player |

## πŸ› οΈ Built With

- **Bun** - Runtime environment
- **Seyfert** - Discord Framework
- **Lavalink** - Audio delivery system
- **Docker** - Containerization

## 🀝 Contributing

Contributions are always welcome!

1. Fork the project
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## πŸ“„ MIT License

This project is licensed under the MIT License - see the LICENSE file for details.

## πŸ‘¨β€πŸ’» Authors

- [@OuOSama](https://www.github.com/OuOSama) - *Initial work & Development*

## πŸ™ Acknowledgments

- Thanks to the [Lavalink team](https://github.com/lavalink-devs) for the amazing audio server
- Seyfert [community](https://discord.com/invite/hEeJNaSqnS) for the excellent documentation
- All contributors who help improve Yae


YAE Sama!