Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.67 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.67 KB

rxl-rest


Discord server npm version npm downloads

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");