Update to @eartharoid/dbf@0.3

This commit is contained in:
Isaac
2022-08-02 17:25:53 +01:00
parent 31635cc7cb
commit aa51cd0554
4 changed files with 7 additions and 7 deletions

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