From 7f53521ef407415617c8dedba4138d6d104d8bc7 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Thu, 4 May 2023 18:46:23 -0500 Subject: [PATCH] chore: refactor and move things --- src/core/plugins/args.ts | 2 +- src/core/plugins/createPlugin.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/plugins/args.ts b/src/core/plugins/args.ts index baa48f1..46b9c67 100644 --- a/src/core/plugins/args.ts +++ b/src/core/plugins/args.ts @@ -3,7 +3,7 @@ import type { PluginType } from '../structures/enums'; import type { Module } from '../../types/module'; import type { Processed } from '../../types/handler'; import { EventType } from '../structures/enums'; -import { CommandArgsMatrix, EventArgsMatrix } from '../../entrypoints/djs'; +import { CommandArgsMatrix, EventArgsMatrix } from '../../types/module'; export interface InitArgs> { module: T; diff --git a/src/core/plugins/createPlugin.ts b/src/core/plugins/createPlugin.ts index 8578285..b5022c9 100644 --- a/src/core/plugins/createPlugin.ts +++ b/src/core/plugins/createPlugin.ts @@ -2,7 +2,6 @@ import { CommandType, EventType, PluginType } from '../structures'; import type { Plugin, PluginResult } from '../../types/plugin'; import type { CommandArgs, EventArgs } from './args'; import type { ClientEvents } from 'discord.js'; -export const guayin = Symbol('twice<3'); export function makePlugin( type: PluginType, @@ -10,8 +9,7 @@ export function makePlugin( ): Plugin { return { type, - execute, - [guayin]: undefined, + execute } as Plugin; } /**