feat: switched back to node-ts because discord.js is a moron

This commit is contained in:
TresAbhi committed 2023-04-27 01:00:56 +00:00
1 parent 560f033a78
commit 6ddf030ce3
8 files changed
+205 -334

No files matched your search

+2 -2
View File
@@ -3,8 +3,8 @@ import discord from '../../discord.json' assert { type: 'json' };
import { NEGATIVE_COLOR } from '../constants/colors.js';
import isDev from '../utilities/isDev.js';
export const PROCESS_ERROR_EVENTS = ['uncaughtException'];
export const CLIENT_ERROR_EVENTS = ['error'];
const PROCESS_ERROR_EVENTS = ['uncaughtException'];
const CLIENT_ERROR_EVENTS = ['error'];
function handleError(error: Error, client: Client) {
console.error(error);