Update to @eartharoid/dbf@0.3

This commit is contained in:
Isaac 2022-08-02 17:25:53 +01:00
parent 31635cc7cb
commit aa51cd0554
No known key found for this signature in database
GPG Key ID: F4EAABEB0FFCC06A
4 changed files with 7 additions and 7 deletions

View File

@ -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",

View File

@ -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');

View File

@ -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,
});
}

View File

@ -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',
});
}