chore: Update dokdo
This commit is contained in:
parent
d7faeac384
commit
c1ba5e8dc0
3 changed files with 12 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "muffinbot",
|
"name": "muffinbot",
|
||||||
"version": "4.0.0-pudding.d240928c",
|
"version": "4.0.0-pudding.d240928d",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
"@sapphire/utilities": "^3.17.0",
|
"@sapphire/utilities": "^3.17.0",
|
||||||
"discord-api-types": "^0.37.100",
|
"discord-api-types": "^0.37.100",
|
||||||
"discord.js": "^14.16.2",
|
"discord.js": "^14.16.2",
|
||||||
"dokdo": "^0.6.2",
|
"dokdo": "^1.0.1",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"mysql2": "^3.11.3",
|
"mysql2": "^3.11.3",
|
||||||
"semver": "^7.6.3",
|
"semver": "^7.6.3",
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import { Listener, container } from '@sapphire/framework'
|
import { Listener, container } from '@sapphire/framework'
|
||||||
import { type Message } from 'discord.js'
|
import { type Message } from 'discord.js'
|
||||||
import { noPerm } from '../modules'
|
import { noPerm } from '../modules'
|
||||||
import Dokdo from 'dokdo'
|
import { Client } from 'dokdo'
|
||||||
|
|
||||||
class MessageCreateListener extends Listener {
|
class MessageCreateListener extends Listener {
|
||||||
public async run(msg: Message<true>) {
|
public async run(msg: Message<true>) {
|
||||||
const prefix = this.container.prefix
|
const prefix = this.container.prefix
|
||||||
const dokdo = new Dokdo(this.container.client, {
|
const dokdo = new Client(this.container.client, {
|
||||||
aliases: ['dokdo', 'dok'],
|
aliases: ['dokdo', 'dok'],
|
||||||
owners: [this.container.config.bot.owner_ID],
|
owners: [this.container.config.bot.owner_ID],
|
||||||
prefix: prefix,
|
prefix: prefix,
|
||||||
|
|
16
yarn.lock
16
yarn.lock
|
@ -1721,14 +1721,14 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"dokdo@npm:^0.6.2":
|
"dokdo@npm:^1.0.1":
|
||||||
version: 0.6.2
|
version: 1.0.1
|
||||||
resolution: "dokdo@npm:0.6.2"
|
resolution: "dokdo@npm:1.0.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
node-fetch: "npm:^2.6.1"
|
node-fetch: "npm:^2.6.7"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
discord.js: ^14.0.0
|
discord.js: 14
|
||||||
checksum: 10c0/0d3c4026c47058c8e1337d289b25201dbdcfaaf15749726519aaa6cac736fa2a575990b454e17141dc2566da8b6202a5fce5cd7385bf3cb60cafcce692cca97c
|
checksum: 10c0/bf7ea23c9aa4c6397d857cc53fb4b8adc1213cfa2b63755dcf067a8cd341640a5af9fd7d9c861989430a11144908f1c4210140b1834787a8bd6b13f80967867a
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
@ -2915,7 +2915,7 @@ __metadata:
|
||||||
cross-env: "npm:^7.0.3"
|
cross-env: "npm:^7.0.3"
|
||||||
discord-api-types: "npm:^0.37.100"
|
discord-api-types: "npm:^0.37.100"
|
||||||
discord.js: "npm:^14.16.2"
|
discord.js: "npm:^14.16.2"
|
||||||
dokdo: "npm:^0.6.2"
|
dokdo: "npm:^1.0.1"
|
||||||
dotenv: "npm:^16.4.5"
|
dotenv: "npm:^16.4.5"
|
||||||
eslint: "npm:^9.11.0"
|
eslint: "npm:^9.11.0"
|
||||||
eslint-config-prettier: "npm:^9.1.0"
|
eslint-config-prettier: "npm:^9.1.0"
|
||||||
|
@ -2982,7 +2982,7 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"node-fetch@npm:^2.6.1":
|
"node-fetch@npm:^2.6.7":
|
||||||
version: 2.7.0
|
version: 2.7.0
|
||||||
resolution: "node-fetch@npm:2.7.0"
|
resolution: "node-fetch@npm:2.7.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue