Skip to content
 
 

Latest commit

 

History

97 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuorielEdge

An extended set of functions for ForgeScript, designed to optimize workflows, simplify the execution of various tasks, and support script integration and processing.

Installation

npm i github:quoriel/edge

Connection

const { ForgeClient } = require("@tryforge/forgescript");
const { QuorielEdge } = require("@quoriel/edge");

const edge = new QuorielEdge({
    events: [
        "interactionCreate"
    ]
});

const client = new ForgeClient({
    extensions: [
        edge
    ]
});

// Loading interactions.
edge.commands.load("interactions");

client.login("...");

The same works from TypeScript, with full type information out of the box:

import { ForgeClient } from "@tryforge/forgescript";
import { QuorielEdge } from "@quoriel/edge";

const edge = new QuorielEdge({
    events: ["interactionCreate"]
});

const client = new ForgeClient({ extensions: [edge] });

edge.commands.load("interactions");

client.login("...");

TypeScript

QuorielEdge is written in TypeScript and ships its own declaration files - no @types package is needed. require() from JavaScript and import from TypeScript both resolve to the same compiled dist/ output, so both are fully supported.

Useful

About

An extended set of functions for ForgeScript, designed to optimize workflows, simplify the execution of various tasks, and support script integration and processing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages