Skip to content

Commit

Permalink
chore: Remove unused connection details in test/manager.ts and test/p…
Browse files Browse the repository at this point in the history
…layer.ts
  • Loading branch information
EvarinDev committed Jul 21, 2024
1 parent 380d6f0 commit 062d335
Show file tree
Hide file tree
Showing 17 changed files with 2,031 additions and 586 deletions.
27 changes: 4 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- [🎈 Usage ](#-usage-)
- [🚀 Deployment ](#-deployment-)
- [⛏️ Built Using ](#️-built-using-)
- [✍️ Authors ](#️-authors-)
- [Credits](#credits)

## 🧐 About <a name = "about"></a>

Expand Down Expand Up @@ -62,25 +62,7 @@ That's it! You have successfully installed Sunday.ts and are ready to start usin
## 🎈 Usage <a name="usage"></a>

```ts
import { Node } from "sunday.ts"
const node = new Node({
host: 'localhost',
port: 2333,
password: 'youshallnotpass',
});

node.on("ready", () => {
console.log("Ready");
});
node.on("stats", () => {
console.log(node.stats);
});
node.on("raw", (data) => {
console.log(data);
});
node.connect();
node.rest?.on("get", (data) => console.log(data));
node.rest?.get("/loadtracks?identifier=dQw4w9WgXcQ")

```

## 🚀 Deployment <a name = "deployment"></a>
Expand All @@ -91,9 +73,8 @@ Add additional notes about how to deploy this on a live system.

- [WebSocket](https://github.com/websockets/ws) - WebSocket Client
- [Axios](https://github.com/axios/axios) - HTTP Request
## Credits

## ✍️ Authors <a name = "authors"></a>

- [FAYStarNext](https://github.com/FAYStarNext) - Idea & Initial work
- [Erela.Js](https://github.com/MenuDocs/erela.js)

See also the list of [contributors](https://github.com/FAYStarNext/Sunday.ts/contributors) who participated in this project.
9 changes: 3 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
export * from "./structures/Node";
export * from "./types/Node";
export * from "./structures/Manager";
export * from "./types/Manager";
export * from "./structures/Node";
export * from "./structures/Player";
export * from "./types/Player";
export * from "./structures/Rest";
export * from "./types/Rest";
export * from "./structures/Queue";
export * from "./structures/Utils";
Loading

0 comments on commit 062d335

Please sign in to comment.