From d6199ce30f66a3c13efa629c180e1179152cc8d7 Mon Sep 17 00:00:00 2001 From: 2D <44017640+MeLike2D@users.noreply.github.com> Date: Sun, 23 Aug 2020 08:03:21 -0700 Subject: [PATCH] Update README.md --- README.md | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56f9fa9..6c0a498 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,42 @@ lavadeno banner -

Lavadeno

+
+
+ A powerful lavalink client built on the Deno Runtime +

Discord ServerGithub

+
-A powerful lavalink client built on the [Deno](https://deno.land/) Runtime +- **Flexible**: Lavadeno is not restricted to a specific discord library. Meaning you only need a connection to the discord gateway for it to work. +- **Easy-to-Use**: Lavadeno has a neat and user-friendly promise-based api. +- **Lightweight**: Designed to be small and performant, it's a great choice for any sized project. + +

Setup

+ +- Deno 1.3.x +- Lavalink + - [Official](https://github.com/frederikam/lavalink) + - [With Filters (Unofficial)](https://github.com/melike2d/lavalink/) +- Connection to the Discord Gateway. + +```ts +import { Manager } from "https://deno.land/x/lavadeno/mod.ts"; + +const nodes = [ + { + id: "main", + host: "localhost", + port: 2333, + password: "youshallnotpass" + } +] + +const manager = new Manager(nodes, { + send(id, payload) { + sendPayloadToDiscord(); + } +}); +``` + +--- + +

melike2d © 2020