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