refactor(events/client): adding the tsconfig + eslint correction
This commit is contained in:
parent
5db6c9ee3e
commit
d14c847c4b
4 changed files with 14 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue