feat: Use Dokdo

This commit is contained in:
Siwoo Jeon 2024-05-30 20:34:15 +09:00
parent b5e6e68dee
commit d207d93126
Signed by: migan
GPG key ID: C4151385FFD2082A
51 changed files with 369 additions and 318 deletions

306
.pnp.cjs generated
View file

@ -28,13 +28,13 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./",\ "packageLocation": "./",\
"packageDependencies": [\ "packageDependencies": [\
["@migan/prettier-config", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:1.0.0"],\ ["@migan/prettier-config", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:1.0.0"],\
["@types/node", "npm:20.10.0"],\ ["@types/node", "npm:20.12.13"],\
["cross-env", "npm:7.0.3"],\ ["cross-env", "npm:7.0.3"],\
["discord.js", "npm:14.14.1"],\ ["discord.js", "npm:14.15.2"],\
["dotenv", "npm:16.3.1"],\ ["dokdo", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:0.6.2"],\
["mysql2", "npm:3.6.5"],\ ["mysql2", "npm:3.9.9"],\
["prettier", "npm:3.1.0"],\ ["prettier", "npm:3.2.5"],\
["ts-node", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.1"],\ ["ts-node", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.2"],\
["tsup", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:8.0.2"],\ ["tsup", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:8.0.2"],\
["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"]\ ["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"]\
],\ ],\
@ -52,16 +52,16 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["@discordjs/builders", [\ ["@discordjs/builders", [\
["npm:1.7.0", {\ ["npm:1.8.1", {\
"packageLocation": "./.yarn/cache/@discordjs-builders-npm-1.7.0-8875363a52-1152d8989e.zip/node_modules/@discordjs/builders/",\ "packageLocation": "./.yarn/cache/@discordjs-builders-npm-1.8.1-d7366e8d68-5540939f5e.zip/node_modules/@discordjs/builders/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/builders", "npm:1.7.0"],\ ["@discordjs/builders", "npm:1.8.1"],\
["@discordjs/formatters", "npm:0.3.3"],\ ["@discordjs/formatters", "npm:0.4.0"],\
["@discordjs/util", "npm:1.0.2"],\ ["@discordjs/util", "npm:1.1.0"],\
["@sapphire/shapeshift", "npm:3.9.3"],\ ["@sapphire/shapeshift", "npm:3.9.7"],\
["discord-api-types", "npm:0.37.61"],\ ["discord-api-types", "npm:0.37.83"],\
["fast-deep-equal", "npm:3.1.3"],\ ["fast-deep-equal", "npm:3.1.3"],\
["ts-mixer", "npm:6.0.3"],\ ["ts-mixer", "npm:6.0.4"],\
["tslib", "npm:2.6.2"]\ ["tslib", "npm:2.6.2"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
@ -75,65 +75,65 @@ const RAW_RUNTIME_STATE =
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\ }],\
["npm:2.0.0", {\ ["npm:2.1.0", {\
"packageLocation": "./.yarn/cache/@discordjs-collection-npm-2.0.0-1c50eb4b3c-58e91ed7f2.zip/node_modules/@discordjs/collection/",\ "packageLocation": "./.yarn/cache/@discordjs-collection-npm-2.1.0-4303223bdc-386b508a0e.zip/node_modules/@discordjs/collection/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/collection", "npm:2.0.0"]\ ["@discordjs/collection", "npm:2.1.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@discordjs/formatters", [\ ["@discordjs/formatters", [\
["npm:0.3.3", {\ ["npm:0.4.0", {\
"packageLocation": "./.yarn/cache/@discordjs-formatters-npm-0.3.3-08a19a739c-372f5b03dc.zip/node_modules/@discordjs/formatters/",\ "packageLocation": "./.yarn/cache/@discordjs-formatters-npm-0.4.0-8330da5fdd-dbc75cf104.zip/node_modules/@discordjs/formatters/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/formatters", "npm:0.3.3"],\ ["@discordjs/formatters", "npm:0.4.0"],\
["discord-api-types", "npm:0.37.61"]\ ["discord-api-types", "npm:0.37.83"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@discordjs/rest", [\ ["@discordjs/rest", [\
["npm:2.2.0", {\ ["npm:2.3.0", {\
"packageLocation": "./.yarn/cache/@discordjs-rest-npm-2.2.0-7742c53181-213245a313.zip/node_modules/@discordjs/rest/",\ "packageLocation": "./.yarn/cache/@discordjs-rest-npm-2.3.0-8ca5e9d236-55932ed312.zip/node_modules/@discordjs/rest/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/rest", "npm:2.2.0"],\ ["@discordjs/rest", "npm:2.3.0"],\
["@discordjs/collection", "npm:2.0.0"],\ ["@discordjs/collection", "npm:2.1.0"],\
["@discordjs/util", "npm:1.0.2"],\ ["@discordjs/util", "npm:1.1.0"],\
["@sapphire/async-queue", "npm:1.5.0"],\ ["@sapphire/async-queue", "npm:1.5.2"],\
["@sapphire/snowflake", "npm:3.5.1"],\ ["@sapphire/snowflake", "npm:3.5.3"],\
["@vladfrangu/async_event_emitter", "npm:2.2.2"],\ ["@vladfrangu/async_event_emitter", "npm:2.2.4"],\
["discord-api-types", "npm:0.37.61"],\ ["discord-api-types", "npm:0.37.83"],\
["magic-bytes.js", "npm:1.5.0"],\ ["magic-bytes.js", "npm:1.10.0"],\
["tslib", "npm:2.6.2"],\ ["tslib", "npm:2.6.2"],\
["undici", "npm:5.27.2"]\ ["undici", "npm:6.13.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@discordjs/util", [\ ["@discordjs/util", [\
["npm:1.0.2", {\ ["npm:1.1.0", {\
"packageLocation": "./.yarn/cache/@discordjs-util-npm-1.0.2-31e2b2f98f-a72343b2c7.zip/node_modules/@discordjs/util/",\ "packageLocation": "./.yarn/cache/@discordjs-util-npm-1.1.0-508dbc4aa9-ce76daa238.zip/node_modules/@discordjs/util/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/util", "npm:1.0.2"]\ ["@discordjs/util", "npm:1.1.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@discordjs/ws", [\ ["@discordjs/ws", [\
["npm:1.0.2", {\ ["npm:1.1.0", {\
"packageLocation": "./.yarn/cache/@discordjs-ws-npm-1.0.2-552886b752-83254ffb68.zip/node_modules/@discordjs/ws/",\ "packageLocation": "./.yarn/cache/@discordjs-ws-npm-1.1.0-47c747948f-d22b6b82ac.zip/node_modules/@discordjs/ws/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/ws", "npm:1.0.2"],\ ["@discordjs/ws", "npm:1.1.0"],\
["@discordjs/collection", "npm:2.0.0"],\ ["@discordjs/collection", "npm:2.1.0"],\
["@discordjs/rest", "npm:2.2.0"],\ ["@discordjs/rest", "npm:2.3.0"],\
["@discordjs/util", "npm:1.0.2"],\ ["@discordjs/util", "npm:1.1.0"],\
["@sapphire/async-queue", "npm:1.5.0"],\ ["@sapphire/async-queue", "npm:1.5.2"],\
["@types/ws", "npm:8.5.10"],\ ["@types/ws", "npm:8.5.10"],\
["@vladfrangu/async_event_emitter", "npm:2.2.2"],\ ["@vladfrangu/async_event_emitter", "npm:2.2.4"],\
["discord-api-types", "npm:0.37.61"],\ ["discord-api-types", "npm:0.37.83"],\
["tslib", "npm:2.6.2"],\ ["tslib", "npm:2.6.2"],\
["ws", "virtual:552886b752de310ce54ce9fe76f5f504adf18fc8ec7c33962afaf94cac7fd12c596749c04ccf8740475eb03deab723875176f4c0ec75af813419d58b693916c7#npm:8.14.2"]\ ["ws", "virtual:47c747948f96313da6c7946702cdba2c18a8685837a36a7287080e5f18f6fee4617eb50e817ea4ebda43cd84cdd254bdce732053a778d0bce2b95039ca131da1#npm:8.17.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -345,15 +345,6 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@fastify/busboy", [\
["npm:2.1.0", {\
"packageLocation": "./.yarn/cache/@fastify-busboy-npm-2.1.0-960844a007-f22c1e5c52.zip/node_modules/@fastify/busboy/",\
"packageDependencies": [\
["@fastify/busboy", "npm:2.1.0"]\
],\
"linkType": "HARD"\
}]\
]],\
["@isaacs/cliui", [\ ["@isaacs/cliui", [\
["npm:8.0.2", {\ ["npm:8.0.2", {\
"packageLocation": "./.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-e9ed5fd27c.zip/node_modules/@isaacs/cliui/",\ "packageLocation": "./.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-e9ed5fd27c.zip/node_modules/@isaacs/cliui/",\
@ -457,7 +448,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\ "packageDependencies": [\
["@migan/prettier-config", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:1.0.0"],\ ["@migan/prettier-config", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:1.0.0"],\
["@types/prettier", null],\ ["@types/prettier", null],\
["prettier", "npm:3.1.0"]\ ["prettier", "npm:3.2.5"]\
],\ ],\
"packagePeers": [\ "packagePeers": [\
"@types/prettier",\ "@types/prettier",\
@ -675,19 +666,19 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["@sapphire/async-queue", [\ ["@sapphire/async-queue", [\
["npm:1.5.0", {\ ["npm:1.5.2", {\
"packageLocation": "./.yarn/cache/@sapphire-async-queue-npm-1.5.0-f065e42c78-d22feb63a2.zip/node_modules/@sapphire/async-queue/",\ "packageLocation": "./.yarn/cache/@sapphire-async-queue-npm-1.5.2-ea45a21892-55e0785997.zip/node_modules/@sapphire/async-queue/",\
"packageDependencies": [\ "packageDependencies": [\
["@sapphire/async-queue", "npm:1.5.0"]\ ["@sapphire/async-queue", "npm:1.5.2"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@sapphire/shapeshift", [\ ["@sapphire/shapeshift", [\
["npm:3.9.3", {\ ["npm:3.9.7", {\
"packageLocation": "./.yarn/cache/@sapphire-shapeshift-npm-3.9.3-cc74b670e7-9fce0135d4.zip/node_modules/@sapphire/shapeshift/",\ "packageLocation": "./.yarn/cache/@sapphire-shapeshift-npm-3.9.7-8f524c782d-f90f8e2592.zip/node_modules/@sapphire/shapeshift/",\
"packageDependencies": [\ "packageDependencies": [\
["@sapphire/shapeshift", "npm:3.9.3"],\ ["@sapphire/shapeshift", "npm:3.9.7"],\
["fast-deep-equal", "npm:3.1.3"],\ ["fast-deep-equal", "npm:3.1.3"],\
["lodash", "npm:4.17.21"]\ ["lodash", "npm:4.17.21"]\
],\ ],\
@ -695,10 +686,10 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["@sapphire/snowflake", [\ ["@sapphire/snowflake", [\
["npm:3.5.1", {\ ["npm:3.5.3", {\
"packageLocation": "./.yarn/cache/@sapphire-snowflake-npm-3.5.1-cebf00e703-12d09f0e4f.zip/node_modules/@sapphire/snowflake/",\ "packageLocation": "./.yarn/cache/@sapphire-snowflake-npm-3.5.3-427ca2a4ee-f306626f76.zip/node_modules/@sapphire/snowflake/",\
"packageDependencies": [\ "packageDependencies": [\
["@sapphire/snowflake", "npm:3.5.1"]\ ["@sapphire/snowflake", "npm:3.5.3"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -749,10 +740,10 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["@types/node", [\ ["@types/node", [\
["npm:20.10.0", {\ ["npm:20.12.13", {\
"packageLocation": "./.yarn/cache/@types-node-npm-20.10.0-22577c30ff-c7d5ddbdbf.zip/node_modules/@types/node/",\ "packageLocation": "./.yarn/cache/@types-node-npm-20.12.13-2b5576f45f-c9f02cfe34.zip/node_modules/@types/node/",\
"packageDependencies": [\ "packageDependencies": [\
["@types/node", "npm:20.10.0"],\ ["@types/node", "npm:20.12.13"],\
["undici-types", "npm:5.26.5"]\ ["undici-types", "npm:5.26.5"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
@ -773,21 +764,13 @@ const RAW_RUNTIME_STATE =
["@types/node", "npm:20.6.3"]\ ["@types/node", "npm:20.6.3"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}],\
["npm:8.5.9", {\
"packageLocation": "./.yarn/cache/@types-ws-npm-8.5.9-91d1b2ab07-7cf66383b8.zip/node_modules/@types/ws/",\
"packageDependencies": [\
["@types/ws", "npm:8.5.9"],\
["@types/node", "npm:20.6.3"]\
],\
"linkType": "HARD"\
}]\ }]\
]],\ ]],\
["@vladfrangu/async_event_emitter", [\ ["@vladfrangu/async_event_emitter", [\
["npm:2.2.2", {\ ["npm:2.2.4", {\
"packageLocation": "./.yarn/cache/@vladfrangu-async_event_emitter-npm-2.2.2-d94a9ff4bf-1c1fcee04a.zip/node_modules/@vladfrangu/async_event_emitter/",\ "packageLocation": "./.yarn/cache/@vladfrangu-async_event_emitter-npm-2.2.4-0297e524e2-06de49380d.zip/node_modules/@vladfrangu/async_event_emitter/",\
"packageDependencies": [\ "packageDependencies": [\
["@vladfrangu/async_event_emitter", "npm:2.2.2"]\ ["@vladfrangu/async_event_emitter", "npm:2.2.4"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -1148,42 +1131,54 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["discord-api-types", [\ ["discord-api-types", [\
["npm:0.37.61", {\ ["npm:0.37.83", {\
"packageLocation": "./.yarn/cache/discord-api-types-npm-0.37.61-8481e98c7b-f11d593722.zip/node_modules/discord-api-types/",\ "packageLocation": "./.yarn/cache/discord-api-types-npm-0.37.83-c5e73ca06d-63aee8b463.zip/node_modules/discord-api-types/",\
"packageDependencies": [\ "packageDependencies": [\
["discord-api-types", "npm:0.37.61"]\ ["discord-api-types", "npm:0.37.83"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["discord.js", [\ ["discord.js", [\
["npm:14.14.1", {\ ["npm:14.15.2", {\
"packageLocation": "./.yarn/cache/discord.js-npm-14.14.1-7feafdd094-c6603421de.zip/node_modules/discord.js/",\ "packageLocation": "./.yarn/cache/discord.js-npm-14.15.2-da10f95790-041ffe7b92.zip/node_modules/discord.js/",\
"packageDependencies": [\ "packageDependencies": [\
["discord.js", "npm:14.14.1"],\ ["discord.js", "npm:14.15.2"],\
["@discordjs/builders", "npm:1.7.0"],\ ["@discordjs/builders", "npm:1.8.1"],\
["@discordjs/collection", "npm:1.5.3"],\ ["@discordjs/collection", "npm:1.5.3"],\
["@discordjs/formatters", "npm:0.3.3"],\ ["@discordjs/formatters", "npm:0.4.0"],\
["@discordjs/rest", "npm:2.2.0"],\ ["@discordjs/rest", "npm:2.3.0"],\
["@discordjs/util", "npm:1.0.2"],\ ["@discordjs/util", "npm:1.1.0"],\
["@discordjs/ws", "npm:1.0.2"],\ ["@discordjs/ws", "npm:1.1.0"],\
["@sapphire/snowflake", "npm:3.5.1"],\ ["@sapphire/snowflake", "npm:3.5.3"],\
["@types/ws", "npm:8.5.9"],\ ["discord-api-types", "npm:0.37.83"],\
["discord-api-types", "npm:0.37.61"],\
["fast-deep-equal", "npm:3.1.3"],\ ["fast-deep-equal", "npm:3.1.3"],\
["lodash.snakecase", "npm:4.1.1"],\ ["lodash.snakecase", "npm:4.1.1"],\
["tslib", "npm:2.6.2"],\ ["tslib", "npm:2.6.2"],\
["undici", "npm:5.27.2"],\ ["undici", "npm:6.13.0"]\
["ws", "virtual:552886b752de310ce54ce9fe76f5f504adf18fc8ec7c33962afaf94cac7fd12c596749c04ccf8740475eb03deab723875176f4c0ec75af813419d58b693916c7#npm:8.14.2"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["dotenv", [\ ["dokdo", [\
["npm:16.3.1", {\ ["npm:0.6.2", {\
"packageLocation": "./.yarn/cache/dotenv-npm-16.3.1-e6d380a398-dbb778237e.zip/node_modules/dotenv/",\ "packageLocation": "./.yarn/cache/dokdo-npm-0.6.2-5c0c9aaf76-bc3b62b83a.zip/node_modules/dokdo/",\
"packageDependencies": [\ "packageDependencies": [\
["dotenv", "npm:16.3.1"]\ ["dokdo", "npm:0.6.2"]\
],\
"linkType": "SOFT"\
}],\
["virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:0.6.2", {\
"packageLocation": "./.yarn/__virtual__/dokdo-virtual-18e8e52296/0/cache/dokdo-npm-0.6.2-5c0c9aaf76-bc3b62b83a.zip/node_modules/dokdo/",\
"packageDependencies": [\
["dokdo", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:0.6.2"],\
["@types/discord.js", null],\
["discord.js", "npm:14.15.2"],\
["node-fetch", "virtual:18e8e522968ad586ba51f4f3ff4335b3cec20ebbfd02c3cfd653e8e31a84b90f839225a18de3f23361eb3a32d3b2e96253d0c87b5ff6d5855d1623f25cb555ed#npm:2.7.0"]\
],\
"packagePeers": [\
"@types/discord.js",\
"discord.js"\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -1743,10 +1738,10 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["magic-bytes.js", [\ ["magic-bytes.js", [\
["npm:1.5.0", {\ ["npm:1.10.0", {\
"packageLocation": "./.yarn/cache/magic-bytes.js-npm-1.5.0-ea66807a2e-ffb86aec8f.zip/node_modules/magic-bytes.js/",\ "packageLocation": "./.yarn/cache/magic-bytes.js-npm-1.10.0-35a34b94a0-4b84d54b79.zip/node_modules/magic-bytes.js/",\
"packageDependencies": [\ "packageDependencies": [\
["magic-bytes.js", "npm:1.5.0"]\ ["magic-bytes.js", "npm:1.10.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -1941,13 +1936,13 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\ "packageDependencies": [\
["muffin-ai-arujak", "workspace:."],\ ["muffin-ai-arujak", "workspace:."],\
["@migan/prettier-config", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:1.0.0"],\ ["@migan/prettier-config", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:1.0.0"],\
["@types/node", "npm:20.10.0"],\ ["@types/node", "npm:20.12.13"],\
["cross-env", "npm:7.0.3"],\ ["cross-env", "npm:7.0.3"],\
["discord.js", "npm:14.14.1"],\ ["discord.js", "npm:14.15.2"],\
["dotenv", "npm:16.3.1"],\ ["dokdo", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:0.6.2"],\
["mysql2", "npm:3.6.5"],\ ["mysql2", "npm:3.9.9"],\
["prettier", "npm:3.1.0"],\ ["prettier", "npm:3.2.5"],\
["ts-node", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.1"],\ ["ts-node", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.2"],\
["tsup", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:8.0.2"],\ ["tsup", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:8.0.2"],\
["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"]\ ["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"]\
],\ ],\
@ -1955,10 +1950,10 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["mysql2", [\ ["mysql2", [\
["npm:3.6.5", {\ ["npm:3.9.9", {\
"packageLocation": "./.yarn/cache/mysql2-npm-3.6.5-1270858eec-06db473f07.zip/node_modules/mysql2/",\ "packageLocation": "./.yarn/cache/mysql2-npm-3.9.9-422305e0c7-edce41a8c8.zip/node_modules/mysql2/",\
"packageDependencies": [\ "packageDependencies": [\
["mysql2", "npm:3.6.5"],\ ["mysql2", "npm:3.9.9"],\
["denque", "npm:2.1.0"],\ ["denque", "npm:2.1.0"],\
["generate-function", "npm:2.3.1"],\ ["generate-function", "npm:2.3.1"],\
["iconv-lite", "npm:0.6.3"],\ ["iconv-lite", "npm:0.6.3"],\
@ -2002,6 +1997,29 @@ const RAW_RUNTIME_STATE =
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["node-fetch", [\
["npm:2.7.0", {\
"packageLocation": "./.yarn/cache/node-fetch-npm-2.7.0-587d57004e-b24f8a3dc9.zip/node_modules/node-fetch/",\
"packageDependencies": [\
["node-fetch", "npm:2.7.0"]\
],\
"linkType": "SOFT"\
}],\
["virtual:18e8e522968ad586ba51f4f3ff4335b3cec20ebbfd02c3cfd653e8e31a84b90f839225a18de3f23361eb3a32d3b2e96253d0c87b5ff6d5855d1623f25cb555ed#npm:2.7.0", {\
"packageLocation": "./.yarn/__virtual__/node-fetch-virtual-253ac5457f/0/cache/node-fetch-npm-2.7.0-587d57004e-b24f8a3dc9.zip/node_modules/node-fetch/",\
"packageDependencies": [\
["node-fetch", "virtual:18e8e522968ad586ba51f4f3ff4335b3cec20ebbfd02c3cfd653e8e31a84b90f839225a18de3f23361eb3a32d3b2e96253d0c87b5ff6d5855d1623f25cb555ed#npm:2.7.0"],\
["@types/encoding", null],\
["encoding", null],\
["whatwg-url", "npm:5.0.0"]\
],\
"packagePeers": [\
"@types/encoding",\
"encoding"\
],\
"linkType": "HARD"\
}]\
]],\
["node-gyp", [\ ["node-gyp", [\
["npm:10.1.0", {\ ["npm:10.1.0", {\
"packageLocation": "./.yarn/unplugged/node-gyp-npm-10.1.0-bdea7d2ece/node_modules/node-gyp/",\ "packageLocation": "./.yarn/unplugged/node-gyp-npm-10.1.0-bdea7d2ece/node_modules/node-gyp/",\
@ -2155,10 +2173,10 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["prettier", [\ ["prettier", [\
["npm:3.1.0", {\ ["npm:3.2.5", {\
"packageLocation": "./.yarn/unplugged/prettier-npm-3.1.0-708d6027b1/node_modules/prettier/",\ "packageLocation": "./.yarn/unplugged/prettier-npm-3.2.5-6859110d6a/node_modules/prettier/",\
"packageDependencies": [\ "packageDependencies": [\
["prettier", "npm:3.1.0"]\ ["prettier", "npm:3.2.5"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -2534,6 +2552,13 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["tr46", [\ ["tr46", [\
["npm:0.0.3", {\
"packageLocation": "./.yarn/cache/tr46-npm-0.0.3-de53018915-8f1f5aa6cb.zip/node_modules/tr46/",\
"packageDependencies": [\
["tr46", "npm:0.0.3"]\
],\
"linkType": "HARD"\
}],\
["npm:1.0.1", {\ ["npm:1.0.1", {\
"packageLocation": "./.yarn/cache/tr46-npm-1.0.1-9547f343a4-6e80d75480.zip/node_modules/tr46/",\ "packageLocation": "./.yarn/cache/tr46-npm-1.0.1-9547f343a4-6e80d75480.zip/node_modules/tr46/",\
"packageDependencies": [\ "packageDependencies": [\
@ -2562,26 +2587,26 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["ts-mixer", [\ ["ts-mixer", [\
["npm:6.0.3", {\ ["npm:6.0.4", {\
"packageLocation": "./.yarn/cache/ts-mixer-npm-6.0.3-d5b44d91b7-ac9178bdac.zip/node_modules/ts-mixer/",\ "packageLocation": "./.yarn/cache/ts-mixer-npm-6.0.4-5d9747bdf5-f20571a4a4.zip/node_modules/ts-mixer/",\
"packageDependencies": [\ "packageDependencies": [\
["ts-mixer", "npm:6.0.3"]\ ["ts-mixer", "npm:6.0.4"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
]],\ ]],\
["ts-node", [\ ["ts-node", [\
["npm:10.9.1", {\ ["npm:10.9.2", {\
"packageLocation": "./.yarn/cache/ts-node-npm-10.9.1-6c268be7f4-bee56d4dc9.zip/node_modules/ts-node/",\ "packageLocation": "./.yarn/cache/ts-node-npm-10.9.2-3f3890b9ac-a91a15b3c9.zip/node_modules/ts-node/",\
"packageDependencies": [\ "packageDependencies": [\
["ts-node", "npm:10.9.1"]\ ["ts-node", "npm:10.9.2"]\
],\ ],\
"linkType": "SOFT"\ "linkType": "SOFT"\
}],\ }],\
["virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.1", {\ ["virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.2", {\
"packageLocation": "./.yarn/__virtual__/ts-node-virtual-51d0a86722/0/cache/ts-node-npm-10.9.1-6c268be7f4-bee56d4dc9.zip/node_modules/ts-node/",\ "packageLocation": "./.yarn/__virtual__/ts-node-virtual-8632f30a8d/0/cache/ts-node-npm-10.9.2-3f3890b9ac-a91a15b3c9.zip/node_modules/ts-node/",\
"packageDependencies": [\ "packageDependencies": [\
["ts-node", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.1"],\ ["ts-node", "virtual:5f78f1a36e0466de94f43ea735dd5701f3e6c031837169942eed8df0d4675e735ccc3da5b972171546318c35e60c2b4bc775227176dd2024d72fef38e36a9bf1#npm:10.9.2"],\
["@cspotcode/source-map-support", "npm:0.8.1"],\ ["@cspotcode/source-map-support", "npm:0.8.1"],\
["@swc/core", null],\ ["@swc/core", null],\
["@swc/wasm", null],\ ["@swc/wasm", null],\
@ -2589,7 +2614,7 @@ const RAW_RUNTIME_STATE =
["@tsconfig/node12", "npm:1.0.11"],\ ["@tsconfig/node12", "npm:1.0.11"],\
["@tsconfig/node14", "npm:1.0.3"],\ ["@tsconfig/node14", "npm:1.0.3"],\
["@tsconfig/node16", "npm:1.0.4"],\ ["@tsconfig/node16", "npm:1.0.4"],\
["@types/node", "npm:20.10.0"],\ ["@types/node", "npm:20.12.13"],\
["@types/swc__core", null],\ ["@types/swc__core", null],\
["@types/swc__wasm", null],\ ["@types/swc__wasm", null],\
["@types/typescript", null],\ ["@types/typescript", null],\
@ -2682,11 +2707,10 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["undici", [\ ["undici", [\
["npm:5.27.2", {\ ["npm:6.13.0", {\
"packageLocation": "./.yarn/cache/undici-npm-5.27.2-141c109c0a-2bf96b102f.zip/node_modules/undici/",\ "packageLocation": "./.yarn/cache/undici-npm-6.13.0-1545cd855e-4ec2038e95.zip/node_modules/undici/",\
"packageDependencies": [\ "packageDependencies": [\
["undici", "npm:5.27.2"],\ ["undici", "npm:6.13.0"]\
["@fastify/busboy", "npm:2.1.0"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -2730,6 +2754,13 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["webidl-conversions", [\ ["webidl-conversions", [\
["npm:3.0.1", {\
"packageLocation": "./.yarn/cache/webidl-conversions-npm-3.0.1-60310f6a2b-b65b9f8d68.zip/node_modules/webidl-conversions/",\
"packageDependencies": [\
["webidl-conversions", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:4.0.2", {\ ["npm:4.0.2", {\
"packageLocation": "./.yarn/cache/webidl-conversions-npm-4.0.2-1d159e6409-594187c36f.zip/node_modules/webidl-conversions/",\ "packageLocation": "./.yarn/cache/webidl-conversions-npm-4.0.2-1d159e6409-594187c36f.zip/node_modules/webidl-conversions/",\
"packageDependencies": [\ "packageDependencies": [\
@ -2739,6 +2770,15 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["whatwg-url", [\ ["whatwg-url", [\
["npm:5.0.0", {\
"packageLocation": "./.yarn/cache/whatwg-url-npm-5.0.0-374fb45e60-f95adbc1e8.zip/node_modules/whatwg-url/",\
"packageDependencies": [\
["whatwg-url", "npm:5.0.0"],\
["tr46", "npm:0.0.3"],\
["webidl-conversions", "npm:3.0.1"]\
],\
"linkType": "HARD"\
}],\
["npm:7.1.0", {\ ["npm:7.1.0", {\
"packageLocation": "./.yarn/cache/whatwg-url-npm-7.1.0-d6cae01571-769fd35838.zip/node_modules/whatwg-url/",\ "packageLocation": "./.yarn/cache/whatwg-url-npm-7.1.0-d6cae01571-769fd35838.zip/node_modules/whatwg-url/",\
"packageDependencies": [\ "packageDependencies": [\
@ -2791,17 +2831,17 @@ const RAW_RUNTIME_STATE =
}]\ }]\
]],\ ]],\
["ws", [\ ["ws", [\
["npm:8.14.2", {\ ["npm:8.17.0", {\
"packageLocation": "./.yarn/cache/ws-npm-8.14.2-b339ac47a2-815ff01d9b.zip/node_modules/ws/",\ "packageLocation": "./.yarn/cache/ws-npm-8.17.0-05fb441faf-5e1dcb0ae7.zip/node_modules/ws/",\
"packageDependencies": [\ "packageDependencies": [\
["ws", "npm:8.14.2"]\ ["ws", "npm:8.17.0"]\
],\ ],\
"linkType": "SOFT"\ "linkType": "SOFT"\
}],\ }],\
["virtual:552886b752de310ce54ce9fe76f5f504adf18fc8ec7c33962afaf94cac7fd12c596749c04ccf8740475eb03deab723875176f4c0ec75af813419d58b693916c7#npm:8.14.2", {\ ["virtual:47c747948f96313da6c7946702cdba2c18a8685837a36a7287080e5f18f6fee4617eb50e817ea4ebda43cd84cdd254bdce732053a778d0bce2b95039ca131da1#npm:8.17.0", {\
"packageLocation": "./.yarn/__virtual__/ws-virtual-c9d0a10f0a/0/cache/ws-npm-8.14.2-b339ac47a2-815ff01d9b.zip/node_modules/ws/",\ "packageLocation": "./.yarn/__virtual__/ws-virtual-3cbecf313d/0/cache/ws-npm-8.17.0-05fb441faf-5e1dcb0ae7.zip/node_modules/ws/",\
"packageDependencies": [\ "packageDependencies": [\
["ws", "virtual:552886b752de310ce54ce9fe76f5f504adf18fc8ec7c33962afaf94cac7fd12c596749c04ccf8740475eb03deab723875176f4c0ec75af813419d58b693916c7#npm:8.14.2"],\ ["ws", "virtual:47c747948f96313da6c7946702cdba2c18a8685837a36a7287080e5f18f6fee4617eb50e817ea4ebda43cd84cdd254bdce732053a778d0bce2b95039ca131da1#npm:8.17.0"],\
["@types/bufferutil", null],\ ["@types/bufferutil", null],\
["@types/utf-8-validate", null],\ ["@types/utf-8-validate", null],\
["bufferutil", null],\ ["bufferutil", null],\

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,19 +1,19 @@
{ {
"name": "muffin-ai-arujak", "name": "muffin-ai-arujak",
"version": "2.0.0-oreo.d240530a", "version": "2.0.0-oreo.d240530b",
"main": "dist/index.js", "main": "dist/index.js",
"private": true, "private": true,
"dependencies": { "dependencies": {
"discord.js": "^14.14.1", "discord.js": "^14.15.2",
"dotenv": "^16.3.1", "dokdo": "^0.6.2",
"mysql2": "^3.6.5" "mysql2": "^3.9.9"
}, },
"devDependencies": { "devDependencies": {
"@migan/prettier-config": "^1.0.0", "@migan/prettier-config": "^1.0.0",
"@types/node": "^20.10.0", "@types/node": "^20.12.13",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"prettier": "^3.1.0", "prettier": "^3.2.5",
"ts-node": "^10.9.1", "ts-node": "^10.9.2",
"tsup": "^8.0.2", "tsup": "^8.0.2",
"typescript": "^5.4.5" "typescript": "^5.4.5"
}, },

View file

@ -9,15 +9,25 @@ import { type Command, noPerm, ChatBot, NODE_ENV } from './modules'
import { readdirSync } from 'node:fs' import { readdirSync } from 'node:fs'
import { join } from 'node:path' import { join } from 'node:path'
import config from '../config.json' import config from '../config.json'
import Dokdo from 'dokdo'
const prefix = config.bot.prefix const prefix = config.bot.prefix
export default class MuffinAI extends Client { export default class MuffinAI extends Client {
get chatBot() { get chatBot() {
return this.#chatBot return new ChatBot()
}
get dokdo() {
return new Dokdo(this, {
aliases: ['dokdo', 'dok'],
owners: [config.bot.owner_ID],
noPerm,
prefix,
})
} }
#chatBot = new ChatBot()
#modules: Collection<string, Command> = new Collection() #modules: Collection<string, Command> = new Collection()
public constructor() { public constructor() {
super({ super({
intents: [ intents: [
@ -60,6 +70,9 @@ export default class MuffinAI extends Client {
if (NODE_ENV === 'development') console.log(args) if (NODE_ENV === 'development') console.log(args)
if (msg.author.bot) return if (msg.author.bot) return
if (msg.content.startsWith(prefix)) { if (msg.content.startsWith(prefix)) {
if (args[0].startsWith('dokdo') || args[0].startsWith('dok')) {
await this.dokdo.run(msg)
} else {
if (msg.channel instanceof TextChannel) { if (msg.channel instanceof TextChannel) {
await msg.channel.sendTyping() await msg.channel.sendTyping()
const command = this.#modules.get(args.shift()!.toLowerCase()) const command = this.#modules.get(args.shift()!.toLowerCase())
@ -75,6 +88,7 @@ export default class MuffinAI extends Client {
} }
} }
} }
}
}) })
return super.login(config.bot.token) return super.login(config.bot.token)
} }

View file

@ -1,25 +0,0 @@
import { Command } from '../modules'
import { Message } from 'discord.js'
import { inspect } from 'node:util'
export default class extends Command {
public constructor() {
super('테스트', true)
}
public async execute(msg: Message, args: string[]) {
if (!args) return msg.channel.send('전달받은 인자가 없습니다.')
try {
const a = eval(args.join(' '))
if (inspect(a).includes(msg.client.token))
return msg.channel.send(
`\`\`\`js\n${inspect(a).replaceAll(
msg.client.token,
'[discord_token]'
)}\n\`\`\``
)
await msg.channel.send(`\`\`\`js\n${inspect(a)}\n\`\`\``)
} catch (err) {
await msg.channel.send(`\`\`\`js\n${err}\n\`\`\``)
}
}
}

304
yarn.lock
View file

@ -14,18 +14,18 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@discordjs/builders@npm:^1.7.0": "@discordjs/builders@npm:^1.8.1":
version: 1.7.0 version: 1.8.1
resolution: "@discordjs/builders@npm:1.7.0" resolution: "@discordjs/builders@npm:1.8.1"
dependencies: dependencies:
"@discordjs/formatters": "npm:^0.3.3" "@discordjs/formatters": "npm:^0.4.0"
"@discordjs/util": "npm:^1.0.2" "@discordjs/util": "npm:^1.1.0"
"@sapphire/shapeshift": "npm:^3.9.3" "@sapphire/shapeshift": "npm:^3.9.7"
discord-api-types: "npm:0.37.61" discord-api-types: "npm:0.37.83"
fast-deep-equal: "npm:^3.1.3" fast-deep-equal: "npm:^3.1.3"
ts-mixer: "npm:^6.0.3" ts-mixer: "npm:^6.0.4"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
checksum: 10/1152d8989ec51e625bc66b87e11322de3ce1ea62cdd9f1b6cc40feabaede9dfe6a1dc283c0b10ac1eae815ebe85853b6231f0a6b895124f4b9dd96bee9f99f0c checksum: 10/5540939f5e56ba7414eb6e53e31500312f7ec0909d9bce495d1876f2b2f70e09d7e1862a8065ddf16fb8d041722d6a464f1b928d917a121f02bdb1fa78e4a09d
languageName: node languageName: node
linkType: hard linkType: hard
@ -36,60 +36,60 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@discordjs/collection@npm:^2.0.0": "@discordjs/collection@npm:^2.1.0":
version: 2.0.0 version: 2.1.0
resolution: "@discordjs/collection@npm:2.0.0" resolution: "@discordjs/collection@npm:2.1.0"
checksum: 10/58e91ed7f29671c1c6fe98d2e23599100c1098fe26e0ca71ff52e15bacd95407e0b56c69155403a81e07d9abf208aa39f57404e80f5d2f6fb37c150e1262265a checksum: 10/386b508a0ed55614a8c32990a16eaaae4c9289172ce06fc7489b91932c593f7485fb62afd13cf71ad762ba927e73233ed63a8d6c8884de949cf1dfaa8ca391e8
languageName: node languageName: node
linkType: hard linkType: hard
"@discordjs/formatters@npm:^0.3.3": "@discordjs/formatters@npm:^0.4.0":
version: 0.3.3 version: 0.4.0
resolution: "@discordjs/formatters@npm:0.3.3" resolution: "@discordjs/formatters@npm:0.4.0"
dependencies: dependencies:
discord-api-types: "npm:0.37.61" discord-api-types: "npm:0.37.83"
checksum: 10/372f5b03dc770f9640c7b90b6cbec22d4965b8af57824c67e55adf3c012bb5d1c3f312f286abb439b9e0790023b72b85b43d1b7237a2faecf52d79dbff1dbf25 checksum: 10/dbc75cf1048c928ddefb3d3f6268f8c153fce3030ef08afad06b7e2b1cd407451069eef1bcd903fc654d5e02fd1bf26372e12da41496182eb8fbee3dab87a83c
languageName: node languageName: node
linkType: hard linkType: hard
"@discordjs/rest@npm:^2.1.0": "@discordjs/rest@npm:^2.3.0":
version: 2.2.0 version: 2.3.0
resolution: "@discordjs/rest@npm:2.2.0" resolution: "@discordjs/rest@npm:2.3.0"
dependencies: dependencies:
"@discordjs/collection": "npm:^2.0.0" "@discordjs/collection": "npm:^2.1.0"
"@discordjs/util": "npm:^1.0.2" "@discordjs/util": "npm:^1.1.0"
"@sapphire/async-queue": "npm:^1.5.0" "@sapphire/async-queue": "npm:^1.5.2"
"@sapphire/snowflake": "npm:^3.5.1" "@sapphire/snowflake": "npm:^3.5.3"
"@vladfrangu/async_event_emitter": "npm:^2.2.2" "@vladfrangu/async_event_emitter": "npm:^2.2.4"
discord-api-types: "npm:0.37.61" discord-api-types: "npm:0.37.83"
magic-bytes.js: "npm:^1.5.0" magic-bytes.js: "npm:^1.10.0"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
undici: "npm:5.27.2" undici: "npm:6.13.0"
checksum: 10/213245a3137b6cf1636d904fd105300df9b0e352c28f0e96323046dd8c62da59f4d60503e82b8a500bc07398054f2f479bff5c99d2fa66cf1cef77f4a98e0f98 checksum: 10/55932ed31248f3b02e819fb2e197eb223862d29894f8b0271d8451c5d8226ae9f398d65234f299bdd5e8597ca8e287ad82867d9b85d54070b6ff172ad3e22ee9
languageName: node languageName: node
linkType: hard linkType: hard
"@discordjs/util@npm:^1.0.2": "@discordjs/util@npm:^1.1.0":
version: 1.0.2 version: 1.1.0
resolution: "@discordjs/util@npm:1.0.2" resolution: "@discordjs/util@npm:1.1.0"
checksum: 10/a72343b2c7576110af7a7d57aab4a98830dd7cdadeca7cb21983f3a67b964871389d15324623a01d59006659644ad91419445876e203ef4e172ce8958d724618 checksum: 10/ce76daa238a4675e3fa081579645debb19df1028ed7c0a518ad81837ae5b17ee8eea8da22bb8d3671b5e5384f315a2972cc0f64d829531cc54fe2afecc0acb79
languageName: node languageName: node
linkType: hard linkType: hard
"@discordjs/ws@npm:^1.0.2": "@discordjs/ws@npm:^1.1.0":
version: 1.0.2 version: 1.1.0
resolution: "@discordjs/ws@npm:1.0.2" resolution: "@discordjs/ws@npm:1.1.0"
dependencies: dependencies:
"@discordjs/collection": "npm:^2.0.0" "@discordjs/collection": "npm:^2.1.0"
"@discordjs/rest": "npm:^2.1.0" "@discordjs/rest": "npm:^2.3.0"
"@discordjs/util": "npm:^1.0.2" "@discordjs/util": "npm:^1.1.0"
"@sapphire/async-queue": "npm:^1.5.0" "@sapphire/async-queue": "npm:^1.5.2"
"@types/ws": "npm:^8.5.9" "@types/ws": "npm:^8.5.10"
"@vladfrangu/async_event_emitter": "npm:^2.2.2" "@vladfrangu/async_event_emitter": "npm:^2.2.4"
discord-api-types: "npm:0.37.61" discord-api-types: "npm:0.37.83"
tslib: "npm:^2.6.2" tslib: "npm:^2.6.2"
ws: "npm:^8.14.2" ws: "npm:^8.16.0"
checksum: 10/83254ffb68f40b790ce1778a4412e2dfcf5be70488b84c232489fd1d05a70e4c2ccfbebc26e16435a8a315ad38e41e81fc6d97622d8d9c7663a169be527a0636 checksum: 10/d22b6b82ac9a666f97ce23828d60c38125ea087e21a1bdf7d2ce3f5b7d0a0df58da5be096c5f1039ad0d859203ada96f93de1673b47b2b0dd7342e2979057ce7
languageName: node languageName: node
linkType: hard linkType: hard
@ -254,13 +254,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@fastify/busboy@npm:^2.0.0":
version: 2.1.0
resolution: "@fastify/busboy@npm:2.1.0"
checksum: 10/f22c1e5c52dc350ddf9ba8be9f87b48d3ea5af00a37fd0a0d1e3e4b37f94d96763e514c68a350c7f570260fdd2f08b55ee090cdd879f92a03249eb0e3fd19113
languageName: node
linkType: hard
"@isaacs/cliui@npm:^8.0.2": "@isaacs/cliui@npm:^8.0.2":
version: 8.0.2 version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2" resolution: "@isaacs/cliui@npm:8.0.2"
@ -511,27 +504,27 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@sapphire/async-queue@npm:^1.5.0": "@sapphire/async-queue@npm:^1.5.2":
version: 1.5.0 version: 1.5.2
resolution: "@sapphire/async-queue@npm:1.5.0" resolution: "@sapphire/async-queue@npm:1.5.2"
checksum: 10/d22feb63a226486b4a463df145e7e8a94d7149b0772d485e6d315348c8dd4318c7a1724b0961cc023cae4070c0d7f73cbb914310ccbee330007c9bb54a04ae5f checksum: 10/55e0785997ec34479509c134a3ffc5e9dc0c183b56b1cb95b0505539972a538b0bff8922c1d051ebeee227b000f79f1f499f1897229a117644833375093aa7b3
languageName: node languageName: node
linkType: hard linkType: hard
"@sapphire/shapeshift@npm:^3.9.3": "@sapphire/shapeshift@npm:^3.9.7":
version: 3.9.3 version: 3.9.7
resolution: "@sapphire/shapeshift@npm:3.9.3" resolution: "@sapphire/shapeshift@npm:3.9.7"
dependencies: dependencies:
fast-deep-equal: "npm:^3.1.3" fast-deep-equal: "npm:^3.1.3"
lodash: "npm:^4.17.21" lodash: "npm:^4.17.21"
checksum: 10/9fce0135d4b6b2acbab83af078dcc5d9780c83c2cea9094178f19128d78ca7e7fa0d90f5b1c4ed4ab345194eb138415e4c902a1014eff2c5d68b77e75f5774e9 checksum: 10/f90f8e25920fe953a5231aa65f24829e1f2ecb26dcac7a09ff1a1f3cb988f174e27b3ac82fc4f6368891edff8ad6f90ee78cf5c0cab3038fd2714d02eba4eb0c
languageName: node languageName: node
linkType: hard linkType: hard
"@sapphire/snowflake@npm:3.5.1, @sapphire/snowflake@npm:^3.5.1": "@sapphire/snowflake@npm:3.5.3, @sapphire/snowflake@npm:^3.5.3":
version: 3.5.1 version: 3.5.3
resolution: "@sapphire/snowflake@npm:3.5.1" resolution: "@sapphire/snowflake@npm:3.5.3"
checksum: 10/12d09f0e4f52f86bdc330d70e4a3042f212d787c2d40e7bc41769218c8d08649786109aa78d777262a658a8f29f12ef5bacc6188d46fd1dd35a4e1f29d378723 checksum: 10/f306626f76a6e9bdc7de9130c1baf7ddcd8681d7d03b2ab6f2404081f71c94085d4001e8a62ae2c2372b3b54d2d52ec21d43695f2c73fb101caabc2d3bf524aa
languageName: node languageName: node
linkType: hard linkType: hard
@ -577,25 +570,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/node@npm:^20.10.0": "@types/node@npm:^20.12.13":
version: 20.10.0 version: 20.12.13
resolution: "@types/node@npm:20.10.0" resolution: "@types/node@npm:20.12.13"
dependencies: dependencies:
undici-types: "npm:~5.26.4" undici-types: "npm:~5.26.4"
checksum: 10/c7d5ddbdbf3491e2363135c9611eb6bfae90eda2957279237fa232bcb29cd0df1cc3ee149d6de9915b754262a531ee2d57d33c9ecd58d763e8ad4856113822f3 checksum: 10/c9f02cfe342bce4aa9221f389115c1f9e3bd9abc87d45e3b2c3a5b92d99523c02b72dd67f50cbbc5edddbaf7dd458cf61dd3289d7a8c14fde80c998df10fee82
languageName: node languageName: node
linkType: hard linkType: hard
"@types/ws@npm:8.5.9": "@types/ws@npm:^8.5.10":
version: 8.5.9
resolution: "@types/ws@npm:8.5.9"
dependencies:
"@types/node": "npm:*"
checksum: 10/7cf66383b8525196875157985658f7f6b40601265023c0fbaf935a22adc8b6133cc563e2683691d61becdc3d9612deb6e8376a5c4d2ec8349aa526d467c02be6
languageName: node
linkType: hard
"@types/ws@npm:^8.5.9":
version: 8.5.10 version: 8.5.10
resolution: "@types/ws@npm:8.5.10" resolution: "@types/ws@npm:8.5.10"
dependencies: dependencies:
@ -604,10 +588,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@vladfrangu/async_event_emitter@npm:^2.2.2": "@vladfrangu/async_event_emitter@npm:^2.2.4":
version: 2.2.2 version: 2.2.4
resolution: "@vladfrangu/async_event_emitter@npm:2.2.2" resolution: "@vladfrangu/async_event_emitter@npm:2.2.4"
checksum: 10/1c1fcee04aecfa3cceb05e9bcd3a8aae053ce0512e79e7f878a5d2b8458a926aa3e6da553be0a431e7acb58d9aec3df435a845653a642b864c6b67e2a44ec40c checksum: 10/06de49380dc47fe712768b0e49286e54a114de962da36ef021d4b03fcff7ec8338b46179d8b3eba4c0e02b2926bbf1e6ea0f9c6c08f6f081361947a7f6719ce9
languageName: node languageName: node
linkType: hard linkType: hard
@ -905,39 +889,41 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"discord-api-types@npm:0.37.61": "discord-api-types@npm:0.37.83":
version: 0.37.61 version: 0.37.83
resolution: "discord-api-types@npm:0.37.61" resolution: "discord-api-types@npm:0.37.83"
checksum: 10/f11d593722ab8ba72c07fd841d62484f22c30e36f4ce6b644f8bbf48422d20b0cd6acbf126d60aa2c535e4bd55df694745cc730c6c0382717dc10b2a81fb2805 checksum: 10/63aee8b4634f98e24921ba7ba82eab30105917d7bf40739b7fbe327a8c93134a78408d842bd7ad7cf3f45948d86db5ec0cb670d66e0fe0f8229cb15bfda5108f
languageName: node languageName: node
linkType: hard linkType: hard
"discord.js@npm:^14.14.1": "discord.js@npm:^14.15.2":
version: 14.14.1 version: 14.15.2
resolution: "discord.js@npm:14.14.1" resolution: "discord.js@npm:14.15.2"
dependencies: dependencies:
"@discordjs/builders": "npm:^1.7.0" "@discordjs/builders": "npm:^1.8.1"
"@discordjs/collection": "npm:1.5.3" "@discordjs/collection": "npm:1.5.3"
"@discordjs/formatters": "npm:^0.3.3" "@discordjs/formatters": "npm:^0.4.0"
"@discordjs/rest": "npm:^2.1.0" "@discordjs/rest": "npm:^2.3.0"
"@discordjs/util": "npm:^1.0.2" "@discordjs/util": "npm:^1.1.0"
"@discordjs/ws": "npm:^1.0.2" "@discordjs/ws": "npm:^1.1.0"
"@sapphire/snowflake": "npm:3.5.1" "@sapphire/snowflake": "npm:3.5.3"
"@types/ws": "npm:8.5.9" discord-api-types: "npm:0.37.83"
discord-api-types: "npm:0.37.61"
fast-deep-equal: "npm:3.1.3" fast-deep-equal: "npm:3.1.3"
lodash.snakecase: "npm:4.1.1" lodash.snakecase: "npm:4.1.1"
tslib: "npm:2.6.2" tslib: "npm:2.6.2"
undici: "npm:5.27.2" undici: "npm:6.13.0"
ws: "npm:8.14.2" checksum: 10/041ffe7b92e423ed707ebbab9eff9f79604b81784c3251a6b09f19e84109a1090fa814cbb477078d28f2440e4161715a01636eb630569bc594749d5fe51b0425
checksum: 10/c6603421dea13ee0215ee779fdfa93eeab7177ff54b317312c03c53f9e101d4958ed72da5d0c4036556f6183828460e7059004589f170e272a609b37806145e9
languageName: node languageName: node
linkType: hard linkType: hard
"dotenv@npm:^16.3.1": "dokdo@npm:^0.6.2":
version: 16.3.1 version: 0.6.2
resolution: "dotenv@npm:16.3.1" resolution: "dokdo@npm:0.6.2"
checksum: 10/dbb778237ef8750e9e3cd1473d3c8eaa9cc3600e33a75c0e36415d0fa0848197f56c3800f77924c70e7828f0b03896818cd52f785b07b9ad4d88dba73fbba83f dependencies:
node-fetch: "npm:^2.6.1"
peerDependencies:
discord.js: ^14.0.0
checksum: 10/bc3b62b83ab4e7fb612ac4a3e09eb3e2be5f807a45e0b81635b95974f20ae60053fac4145bc1a0bd2153f80f5155fdbac99a2afd4b87d841167c4281691dfe88
languageName: node languageName: node
linkType: hard linkType: hard
@ -1480,10 +1466,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"magic-bytes.js@npm:^1.5.0": "magic-bytes.js@npm:^1.10.0":
version: 1.5.0 version: 1.10.0
resolution: "magic-bytes.js@npm:1.5.0" resolution: "magic-bytes.js@npm:1.10.0"
checksum: 10/ffb86aec8f4d05446355433392f5a67882c9cbcd46bc1d53ece4f46f73938ec16a35ad4d53decda661185c92e3007a94243bf48809bc73f111a8a28b63eeee19 checksum: 10/4b84d54b79914df3e9824ba6aba4eb01ea2555d14c7a4fa45be43ef8be3c286ad3a8dcdb536b328de2d7469dbbd3a21ee4b15d338cadc43eb08c0df249a19e7a
languageName: node languageName: node
linkType: hard linkType: hard
@ -1659,21 +1645,21 @@ __metadata:
resolution: "muffin-ai-arujak@workspace:." resolution: "muffin-ai-arujak@workspace:."
dependencies: dependencies:
"@migan/prettier-config": "npm:^1.0.0" "@migan/prettier-config": "npm:^1.0.0"
"@types/node": "npm:^20.10.0" "@types/node": "npm:^20.12.13"
cross-env: "npm:^7.0.3" cross-env: "npm:^7.0.3"
discord.js: "npm:^14.14.1" discord.js: "npm:^14.15.2"
dotenv: "npm:^16.3.1" dokdo: "npm:^0.6.2"
mysql2: "npm:^3.6.5" mysql2: "npm:^3.9.9"
prettier: "npm:^3.1.0" prettier: "npm:^3.2.5"
ts-node: "npm:^10.9.1" ts-node: "npm:^10.9.2"
tsup: "npm:^8.0.2" tsup: "npm:^8.0.2"
typescript: "npm:^5.4.5" typescript: "npm:^5.4.5"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"mysql2@npm:^3.6.5": "mysql2@npm:^3.9.9":
version: 3.6.5 version: 3.9.9
resolution: "mysql2@npm:3.6.5" resolution: "mysql2@npm:3.9.9"
dependencies: dependencies:
denque: "npm:^2.1.0" denque: "npm:^2.1.0"
generate-function: "npm:^2.3.1" generate-function: "npm:^2.3.1"
@ -1683,7 +1669,7 @@ __metadata:
named-placeholders: "npm:^1.1.3" named-placeholders: "npm:^1.1.3"
seq-queue: "npm:^0.0.5" seq-queue: "npm:^0.0.5"
sqlstring: "npm:^2.3.2" sqlstring: "npm:^2.3.2"
checksum: 10/06db473f0723be74ebd47ce0c6fe38fc9f9b5644d847078105bc39385965f234b920225bbbec08538d0a9f58fbb453b596e5c33036f7cc51097bad71c6c1598f checksum: 10/edce41a8c85fc729d3d55921a3bcac9f4b19d9000cc9703fa526322f62e767f295e172983330b555b46a322f9f3fd77b64554a37d22f208dca3d9c43b50ae154
languageName: node languageName: node
linkType: hard linkType: hard
@ -1714,6 +1700,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"node-fetch@npm:^2.6.1":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
whatwg-url: "npm:^5.0.0"
peerDependencies:
encoding: ^0.1.0
peerDependenciesMeta:
encoding:
optional: true
checksum: 10/b24f8a3dc937f388192e59bcf9d0857d7b6940a2496f328381641cb616efccc9866e89ec43f2ec956bbd6c3d3ee05524ce77fe7b29ccd34692b3a16f237d6676
languageName: node
linkType: hard
"node-gyp@npm:latest": "node-gyp@npm:latest":
version: 10.1.0 version: 10.1.0
resolution: "node-gyp@npm:10.1.0" resolution: "node-gyp@npm:10.1.0"
@ -1842,12 +1842,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"prettier@npm:^3.1.0": "prettier@npm:^3.2.5":
version: 3.1.0 version: 3.2.5
resolution: "prettier@npm:3.1.0" resolution: "prettier@npm:3.2.5"
bin: bin:
prettier: bin/prettier.cjs prettier: bin/prettier.cjs
checksum: 10/e95e8f93c6b9aea2ac1e86bebe329bee90c8c50d9a23d1f593eba8d7f39b33b3641eb28785001505b6723c47895a5322ad12a2fb855b289cb7bae450ffc34425 checksum: 10/d509f9da0b70e8cacc561a1911c0d99ec75117faed27b95cc8534cb2349667dee6351b0ca83fa9d5703f14127faa52b798de40f5705f02d843da133fc3aa416a
languageName: node languageName: node
linkType: hard linkType: hard
@ -2226,6 +2226,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"tr46@npm:~0.0.3":
version: 0.0.3
resolution: "tr46@npm:0.0.3"
checksum: 10/8f1f5aa6cb232f9e1bdc86f485f916b7aa38caee8a778b378ffec0b70d9307873f253f5cbadbe2955ece2ac5c83d0dc14a77513166ccd0a0c7fe197e21396695
languageName: node
linkType: hard
"tree-kill@npm:^1.2.2": "tree-kill@npm:^1.2.2":
version: 1.2.2 version: 1.2.2
resolution: "tree-kill@npm:1.2.2" resolution: "tree-kill@npm:1.2.2"
@ -2242,16 +2249,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ts-mixer@npm:^6.0.3": "ts-mixer@npm:^6.0.4":
version: 6.0.3 version: 6.0.4
resolution: "ts-mixer@npm:6.0.3" resolution: "ts-mixer@npm:6.0.4"
checksum: 10/ac9178bdac5e5f760472269ad4c461587a0f6793532ddbef1326bb01482425a6247be98f9bd11bf35a9fdd36b63b8c8dde393942b9b9ee52d154eef082fca39a checksum: 10/f20571a4a4ff7b5e1a2ff659208c1ea9d4180dda932b71d289edc99e25a2948c9048e2e676b930302ac0f8e88279e0da6022823183e67de3906a3f3a8b72ea80
languageName: node languageName: node
linkType: hard linkType: hard
"ts-node@npm:^10.9.1": "ts-node@npm:^10.9.2":
version: 10.9.1 version: 10.9.2
resolution: "ts-node@npm:10.9.1" resolution: "ts-node@npm:10.9.2"
dependencies: dependencies:
"@cspotcode/source-map-support": "npm:^0.8.0" "@cspotcode/source-map-support": "npm:^0.8.0"
"@tsconfig/node10": "npm:^1.0.7" "@tsconfig/node10": "npm:^1.0.7"
@ -2283,7 +2290,7 @@ __metadata:
ts-node-script: dist/bin-script.js ts-node-script: dist/bin-script.js
ts-node-transpile-only: dist/bin-transpile.js ts-node-transpile-only: dist/bin-transpile.js
ts-script: dist/bin-script-deprecated.js ts-script: dist/bin-script-deprecated.js
checksum: 10/bee56d4dc96ccbafc99dfab7b73fbabc62abab2562af53cdea91c874a301b9d11e42bc33c0a032a6ed6d813dbdc9295ec73dde7b73ea4ebde02b0e22006f7e04 checksum: 10/a91a15b3c9f76ac462f006fa88b6bfa528130dcfb849dd7ef7f9d640832ab681e235b8a2bc58ecde42f72851cc1d5d4e22c901b0c11aa51001ea1d395074b794
languageName: node languageName: node
linkType: hard linkType: hard
@ -2360,12 +2367,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"undici@npm:5.27.2": "undici@npm:6.13.0":
version: 5.27.2 version: 6.13.0
resolution: "undici@npm:5.27.2" resolution: "undici@npm:6.13.0"
dependencies: checksum: 10/4ec2038e95779d4f1114a5dcf5bc74ec59c7fc76f6287f8a6bea6d69113f0190e6d41cc6e14409b5d912b0a92ce910b33bfa05808f40b6bf2b802b58b427f2cf
"@fastify/busboy": "npm:^2.0.0"
checksum: 10/2bf96b102fb84568fb235bdf6e1e352e5d2bf99566b243cd1b13b41578bf9dd5c7c3d3d82192b20a3fec61fe7a528f9d80cd5b4555ce65405c06c69b023013de
languageName: node languageName: node
linkType: hard linkType: hard
@ -2394,6 +2399,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"webidl-conversions@npm:^3.0.0":
version: 3.0.1
resolution: "webidl-conversions@npm:3.0.1"
checksum: 10/b65b9f8d6854572a84a5c69615152b63371395f0c5dcd6729c45789052296df54314db2bc3e977df41705eacb8bc79c247cee139a63fa695192f95816ed528ad
languageName: node
linkType: hard
"webidl-conversions@npm:^4.0.2": "webidl-conversions@npm:^4.0.2":
version: 4.0.2 version: 4.0.2
resolution: "webidl-conversions@npm:4.0.2" resolution: "webidl-conversions@npm:4.0.2"
@ -2401,6 +2413,16 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"whatwg-url@npm:^5.0.0":
version: 5.0.0
resolution: "whatwg-url@npm:5.0.0"
dependencies:
tr46: "npm:~0.0.3"
webidl-conversions: "npm:^3.0.0"
checksum: 10/f95adbc1e80820828b45cc671d97da7cd5e4ef9deb426c31bcd5ab00dc7103042291613b3ef3caec0a2335ed09e0d5ed026c940755dbb6d404e2b27f940fdf07
languageName: node
linkType: hard
"whatwg-url@npm:^7.0.0": "whatwg-url@npm:^7.0.0":
version: 7.1.0 version: 7.1.0
resolution: "whatwg-url@npm:7.1.0" resolution: "whatwg-url@npm:7.1.0"
@ -2456,9 +2478,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"ws@npm:8.14.2, ws@npm:^8.14.2": "ws@npm:^8.16.0":
version: 8.14.2 version: 8.17.0
resolution: "ws@npm:8.14.2" resolution: "ws@npm:8.17.0"
peerDependencies: peerDependencies:
bufferutil: ^4.0.1 bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2" utf-8-validate: ">=5.0.2"
@ -2467,7 +2489,7 @@ __metadata:
optional: true optional: true
utf-8-validate: utf-8-validate:
optional: true optional: true
checksum: 10/815ff01d9bc20a249b2228825d9739268a03a4408c2e0b14d49b0e2ae89d7f10847e813b587ba26992bdc33e9d03bed131e4cae73ff996baf789d53e99c31186 checksum: 10/5e1dcb0ae70c6e2f158f5b446e0a72a2cd335b07aba73ee1872e9bae1285382286a10e53ed479db21bdd690a5dfd05641a768611ebb236253c62fefa43ef58b4
languageName: node languageName: node
linkType: hard linkType: hard