diff --git a/packages/gil/lib/structures/Listener.ts b/packages/gil/lib/structures/Listener.ts index 99100f7d..b81042bd 100644 --- a/packages/gil/lib/structures/Listener.ts +++ b/packages/gil/lib/structures/Listener.ts @@ -1,6 +1,6 @@ import { GilClient } from "../GilClient"; -interface ListenerOptions { +export interface ListenerOptions { event: string; emitter: "gjs" | "gil"; } @@ -11,7 +11,7 @@ export abstract class Listener { public constructor( public readonly gil: GilClient, public readonly options: ListenerOptions, - ) {} + ) { } public abstract execute(context: ListenerContext, ...args: unknown[]): unknown | Promise; } diff --git a/packages/gil/lib/structures/Task.ts b/packages/gil/lib/structures/Task.ts index 7709119c..2bfa9bac 100644 --- a/packages/gil/lib/structures/Task.ts +++ b/packages/gil/lib/structures/Task.ts @@ -4,7 +4,7 @@ import { GilClient } from "../GilClient"; import { Manager } from "./Manager"; import Cron from "node-cron"; -interface TaskOptions { +export interface TaskOptions { // The internal-safe name of the task name: string; // A cron representing the interval at which the task should run. diff --git a/packages/gil/package.json b/packages/gil/package.json index 85ee9f7e..23d161c3 100644 --- a/packages/gil/package.json +++ b/packages/gil/package.json @@ -1,6 +1,6 @@ { "name": "@guildedjs/gil", - "version": "0.6.4", + "version": "0.6.5", "description": "Framework for guilded.js that allows you to build bots with ease.", "author": "Zaid \"Nico\" ", "license": "MIT",