From 432555e2fb593318ce9afdcdf911a69a96d698ad Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Fri, 1 Jan 2021 13:41:44 +0530 Subject: [PATCH] try fix --- src/models/slashClient.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/models/slashClient.ts b/src/models/slashClient.ts index f2e550b..06beaef 100644 --- a/src/models/slashClient.ts +++ b/src/models/slashClient.ts @@ -398,10 +398,6 @@ export class SlashClient { if (this._decoratedSlashModules !== undefined) { this._decoratedSlashModules.forEach((e) => { const mod = ((this as unknown) as { [name: string]: SlashModule })[e] - if (!(mod instanceof SlashModule)) - throw new Error( - '@slashModule can only be used on SlashModule instances' - ) this.modules.push(mod) }) }