rxl-rest
v1.1.7
Published
A powerful library for interacting with the Errors
Downloads
11
Readme
install
npm install rxl-rest
Discord Package Section
You can use reply and interaction messages with
rxl-rest
package
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:
$ Test Message, UserID: userId, Username: username
Console Section
- you can Get more features With rxl!
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");