mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-17 09:23:07 +02:00
Update to @eartharoid/dbf@0.3
This commit is contained in:
parent
31635cc7cb
commit
aa51cd0554
@ -34,7 +34,7 @@
|
||||
"node": ">=18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@eartharoid/dbf": "^0.2.2",
|
||||
"@eartharoid/dbf": "^0.3.0",
|
||||
"@eartharoid/dtf": "^2.0.1",
|
||||
"@eartharoid/i18n": "^1.0.4",
|
||||
"@fastify/cookie": "^6.0.0",
|
||||
|
@ -1,4 +1,4 @@
|
||||
const { Client: FrameworkClient } = require('@eartharoid/dbf');
|
||||
const { FrameworkClient } = require('@eartharoid/dbf');
|
||||
const { GatewayIntentBits } = require('discord.js');
|
||||
const { PrismaClient } = require('@prisma/client');
|
||||
const Keyv = require('keyv');
|
||||
|
@ -1,11 +1,11 @@
|
||||
const { Listener } = require('@eartharoid/dbf');
|
||||
|
||||
module.exports = class extends Listener {
|
||||
constructor(client) {
|
||||
constructor(client, options) {
|
||||
super(client, {
|
||||
...options,
|
||||
emitter: client,
|
||||
event: 'ready',
|
||||
id: 'clientReady',
|
||||
once: true,
|
||||
});
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
const { StdinCommand } = require('@eartharoid/dbf');
|
||||
|
||||
module.exports = class extends StdinCommand {
|
||||
constructor(client) {
|
||||
constructor(client, options) {
|
||||
super(client, {
|
||||
id: 'stdinEval',
|
||||
name: 'eval',
|
||||
...options,
|
||||
id: 'eval',
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user