mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: switched back to node-ts because discord.js is a moron
This commit is contained in:
1 parent
560f033a78
commit
6ddf030ce3
8 files changed
+205
-334
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user