Removed unnecessary error sender

merge-requests/1/merge
Bsian 2019-10-16 00:12:16 +01:00
parent 371b3328de
commit 92d0417221
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 0 additions and 5 deletions

View File

@ -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()) {