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

View File

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

View File

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

View File

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