1
0
mirror of https://github.com/warengroup/eximiabots-radiox.git synced 2025-05-06 10:35:00 +00:00
2023-12-21 01:42:36 +02:00

11 lines
333 B
TypeScript

import RadioClient from "../../Client";
export default function uncaughtException(client: RadioClient, error: Error) {
client.funcs.logger("Error");
console.log(error.stack);
console.log('');
if(error.name == "DiscordAPIError[10062]" && error.message == "Unknown interaction") return;
process.emit('SIGINT');
}