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

https://github.com/andersonsrocha/playzone

πŸ€– Music bot for discord
https://github.com/andersonsrocha/playzone

discord discord-bot nodejs typescript

Last synced: 2 months ago
JSON representation

πŸ€– Music bot for discord

Awesome Lists containing this project

README

          


πŸ€– Playzone Bot

Music bot application for discord using node.js + TypeScript, with support from [discord.js](https://discord.js.org) library and [discord-player](https://discord-player.js.org).

![](https://img.shields.io/badge/release-v1.0.0-52a49a)
![](https://img.shields.io/badge/yarn-%3E%3D%208.19.1-blue)
![](https://img.shields.io/badge/node-%3E%3D%2018.9.0-green)

[discord.js](https://discord.js.org/) Β· [discord-player](https://discord-player.js.org) Β· [@discordjs/opus](https://github.com/discordjs/opus) Β· [ffmpeg](https://ffmpeg.org)

πŸ—’οΈ Index

- [πŸš€ Technologies](#-technologies)
- [✨ Features](#-features)
- [πŸ“‘ Environment](#-environment)
- [⌨️ Commands](#️-commands)
- [πŸ“¦ Install](#-install)
- [πŸ”¨ Build](#-build)
- [πŸ”— Links](#-links)
- [πŸ“ License](#-license)

## πŸš€ Technologies

- πŸ’‘ TypeScript
- πŸ€– discord.js
- πŸ”Š discord-player

## ✨ Features

- πŸ”₯ Play music from YouTube
- 🎡 Play music from Spotify
- 🎧 Play music from SoundCloud

## πŸ“‘ Environment

πŸ“ Create **environment** variables .env file and add the keys TOKEN - will be the [value](https://discord.com/developers/applications) of your API key - and CLIENT_ID - will be your application ID

```bash
TOKEN=your_key
CLIENT_ID=your_id
```

## ⌨️ Commands

πŸ“ All commands available in playzone bot

| **Name** | **Description** | **Options** |
| :----------------: | :----------------------------------: | :---------: |
| **/exit** | Kick the bot from the channel! πŸ”‡ | |
| **/help** | Show list of commands! πŸ“‹ | |
| **/pause** | Pauses the current song! ⏸️ | |
| **/play playlist** | Plays a playlist! 🎡 | \ |
| **/play song** | Plays a single song! 🎡 | \ |
| **/play search** | Searchs for a song and play it! 🎡 | \ |
| **/queue** | Show first 10 songs in the queue! πŸ“‹ | |
| **/resume** | Resumes the current song! 🎡 | |
| **/skip** | Skips the current song! ⏭️ | |

## πŸ“¦ Install

πŸ“ Install the dependencies and **start** the project

```bash
npm install
npm run dev
```

## πŸ”¨ Build

πŸ“ **Build** the application for **production**

```bash
npm run build
```

## πŸ”— Links

- [Discord js](https://discord.js.org)
- [Discord Player](https://discord-player.js.org)
- [Discord js Opus](https://github.com/discordjs/opus)
- [Github](https://github.com/andersonsrocha)
- [LinkedIn](https://www.linkedin.com/in/anderson-silva-a40926192)

## πŸ“ License

This project is under the MIT license. See the [LICENSE](LICENSE) file for more details.