From 874a43f1cf5478d9a12190093a06f42db9846cb1 Mon Sep 17 00:00:00 2001 From: mctaylors Date: Tue, 19 Dec 2023 23:07:48 +0300 Subject: [PATCH] Add README.md --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1f5c280 --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +![Banner](https://cdn.mctaylors.ru/cassette-banner-gitea.png) + +

+Cassette is a Discord bot that plays your most favourite music in your most visited voice channels.

+License +Powered by Remora +Powered by Lavalink4NET +

+ +--- + +# Features + +* `/play` — get music from URL or YouTube query +* `/resume` and `/pause` — resume & pause to take a break from music +* `/seek` — rewind tracks to "that" interesting part +* `/repeat` — repeat whole queue or that one favorite track +* `/setvolume` — set player volume for everyone in your channel + +...and some more! + +# Building & running Cassette [![](https://img.shields.io/github/v/release/lavalink-devs/Lavalink?logo=github&label=Lavalink%20release&color=orange)](https://github.com/lavalink-devs/Lavalink/releases/latest) + +1. Install [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) +2. Go to the [Discord Developer Portal](https://discord.com/developers), create a new application and get a bot token. Don't forget to also enable all intents! +3. Download, configure[^1] & run [Lavalink](https://github.com/lavalink-devs/Lavalink) node +```shell +java -jar Lavalink.jar +``` +4. Clone this repository and open `Cassette` folder. +```shell +git clone https://git.mctaylors.ru/mctaylors/Cassette +cd Cassette +``` +5. Run Cassette using `dotnet` with `BOT_TOKEN` variable. +```shell +dotnet run BOT_TOKEN='ENTER_TOKEN_HERE' +``` + +[^1]: https://lavalink.dev/configuration \ No newline at end of file