https://github.com/rlxchap2/rxl-rest
new package that make the codes more easier
https://github.com/rlxchap2/rxl-rest
cli discordjs nodejs npm rxl rxl-rest
Last synced: 7 months ago
JSON representation
new package that make the codes more easier
- Host: GitHub
- URL: https://github.com/rlxchap2/rxl-rest
- Owner: RlxChap2
- License: apache-2.0
- Created: 2023-09-22T21:50:29.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-30T00:43:05.000Z (10 months ago)
- Last Synced: 2025-04-21T05:06:38.183Z (7 months ago)
- Topics: cli, discordjs, nodejs, npm, rxl, rxl-rest
- Language: JavaScript
- Homepage:
- Size: 5.23 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## install
```sh
npm install rxl-rest
```
---
## Discord Package Section
> **You can use reply and interaction messages with `rxl-rest` package**
```js
const { Reply } = require("rxl-rest");
// Example Useage for Messages
Reply.message({ message: `Test Message`, interaction: message });
// Example Useage for Interactions
Reply.interaction({ message: `Test Message`, interaction: interaction });
```
**Console:**
```console
$ Test Message, UserID: userId, Username: username
```
## Console Section
- **you can Get more features With rxl!**
```js
const { Console, RColors } = require("rxl-rest");
// Exmple Useage of how to Return and get The Errors
Console.DebuggingErrors();
// Exmple Useage of how to Change The Console Msssage Color
Console.Color({ message: `Hello World!`, color: RColors.Green });
// RColors: ["Black", "Blue", "Cyan", "Green", "Magenta", "Red", "White", "Yellow"];
// Exmple Useage of how to make Type Errors
Console.throwTypeError("An error occurred");
```
