From 92d0417221dc708aa06bc05854637c243adeb8c4 Mon Sep 17 00:00:00 2001 From: Bsian Date: Wed, 16 Oct 2019 00:12:16 +0100 Subject: [PATCH] Removed unnecessary error sender --- src/Util.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Util.ts b/src/Util.ts index 3d62254..a74fed3 100644 --- a/src/Util.ts +++ b/src/Util.ts @@ -25,11 +25,6 @@ export default class Util { return result; } - public sendError(error: Error): void { - // @ts-ignore - this.client.guilds.get('446067825673633794').channels.get('595788220764127272').createMessage(`\`\`\`ts\n${error.stack}\`\`\``); - } - public resolveCommand(command: string): Command { if (this.client.commands.has(command)) return this.client.commands.get(command); for (const cmd of this.client.commands.values()) {