refactor(events/client): adding the tsconfig + eslint correction

This commit is contained in:
Raphael 2025-10-14 00:18:43 +02:00 committed by Raphaël
parent 5db6c9ee3e
commit d14c847c4b
4 changed files with 14 additions and 17 deletions

View file

@ -1,5 +1,5 @@
import { Events, EmbedBuilder, Guild } from 'discord.js';
import { prisma } from '../../lib/prisma.ts';
import { prisma } from '@lib/prisma';
import { Bot as BotPrisma } from '@prisma/client';
export default {
@ -42,7 +42,7 @@ export default {
await new Promise(res => setTimeout(res, 1000));
}
catch (err) {
console.warn(`⚠️ | ${buyer.id} : ${err}`);
console.warn(`⚠️ | ${buyer.id} : ${err as Error}`);
return;
}
}),