diff --git a/.pnp.cjs b/.pnp.cjs index bdc2c40..7771dbf 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -29,6 +29,7 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["@migan/prettier-config", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:1.0.0"],\ ["@types/node", "npm:20.14.2"],\ + ["@types/ws", "npm:8.5.10"],\ ["cross-env", "npm:7.0.3"],\ ["discord.js", "npm:14.15.3"],\ ["dokdo", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:0.6.2"],\ @@ -36,7 +37,8 @@ const RAW_RUNTIME_STATE = ["prettier", "npm:3.3.2"],\ ["ts-node", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:10.9.2"],\ ["tsup", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:8.1.0"],\ - ["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c"]\ + ["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c"],\ + ["ws", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:8.17.1"]\ ],\ "linkType": "SOFT"\ }]\ @@ -1937,6 +1939,7 @@ const RAW_RUNTIME_STATE = ["muffinbot", "workspace:."],\ ["@migan/prettier-config", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:1.0.0"],\ ["@types/node", "npm:20.14.2"],\ + ["@types/ws", "npm:8.5.10"],\ ["cross-env", "npm:7.0.3"],\ ["discord.js", "npm:14.15.3"],\ ["dokdo", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:0.6.2"],\ @@ -1944,7 +1947,8 @@ const RAW_RUNTIME_STATE = ["prettier", "npm:3.3.2"],\ ["ts-node", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:10.9.2"],\ ["tsup", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:8.1.0"],\ - ["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c"]\ + ["typescript", "patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c"],\ + ["ws", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:8.17.1"]\ ],\ "linkType": "SOFT"\ }]\ @@ -2838,6 +2842,13 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ + ["npm:8.17.1", {\ + "packageLocation": "./.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip/node_modules/ws/",\ + "packageDependencies": [\ + ["ws", "npm:8.17.1"]\ + ],\ + "linkType": "SOFT"\ + }],\ ["virtual:ce928ca6866f0f6f87bc2103071ec5e3b56c0ba675017dafc0fb936328db0a739ae634726e691134a49d9c8f9b18ad221116704a51907ce21110ab4d92db95ce#npm:8.17.0", {\ "packageLocation": "./.yarn/__virtual__/ws-virtual-653a1fd65a/0/cache/ws-npm-8.17.0-05fb441faf-5e1dcb0ae7.zip/node_modules/ws/",\ "packageDependencies": [\ @@ -2854,6 +2865,23 @@ const RAW_RUNTIME_STATE = "utf-8-validate"\ ],\ "linkType": "HARD"\ + }],\ + ["virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:8.17.1", {\ + "packageLocation": "./.yarn/__virtual__/ws-virtual-1712438c5b/0/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip/node_modules/ws/",\ + "packageDependencies": [\ + ["ws", "virtual:df417fa6ed58592061b3cdd25305c567cb83e355f566a3f712cecb8d4e6c4814c3ed842a030a9c3a51e2de30e93ecf82143ea19accc29756c7a7ac08166c7416#npm:8.17.1"],\ + ["@types/bufferutil", null],\ + ["@types/utf-8-validate", null],\ + ["bufferutil", null],\ + ["utf-8-validate", null]\ + ],\ + "packagePeers": [\ + "@types/bufferutil",\ + "@types/utf-8-validate",\ + "bufferutil",\ + "utf-8-validate"\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["yallist", [\ diff --git a/.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip b/.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip new file mode 100644 index 0000000..cd6b6f2 Binary files /dev/null and b/.yarn/cache/ws-npm-8.17.1-f57fb24a2c-4264ae92c0.zip differ diff --git a/package.json b/package.json index 810c166..d2d243c 100644 --- a/package.json +++ b/package.json @@ -6,11 +6,13 @@ "dependencies": { "discord.js": "^14.15.3", "dokdo": "^0.6.2", - "mysql2": "^3.10.1" + "mysql2": "^3.10.1", + "ws": "^8.17.1" }, "devDependencies": { "@migan/prettier-config": "^1.0.0", "@types/node": "^20.14.2", + "@types/ws": "^8", "cross-env": "^7.0.3", "prettier": "^3.3.2", "ts-node": "^10.9.2", diff --git a/yarn.lock b/yarn.lock index 755f549..7d95664 100644 --- a/yarn.lock +++ b/yarn.lock @@ -579,7 +579,7 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8.5.10": +"@types/ws@npm:^8, @types/ws@npm:^8.5.10": version: 8.5.10 resolution: "@types/ws@npm:8.5.10" dependencies: @@ -1646,6 +1646,7 @@ __metadata: dependencies: "@migan/prettier-config": "npm:^1.0.0" "@types/node": "npm:^20.14.2" + "@types/ws": "npm:^8" cross-env: "npm:^7.0.3" discord.js: "npm:^14.15.3" dokdo: "npm:^0.6.2" @@ -1654,6 +1655,7 @@ __metadata: ts-node: "npm:^10.9.2" tsup: "npm:^8.1.0" typescript: "npm:^5.4.5" + ws: "npm:^8.17.1" languageName: unknown linkType: soft @@ -2493,6 +2495,21 @@ __metadata: languageName: node linkType: hard +"ws@npm:^8.17.1": + version: 8.17.1 + resolution: "ws@npm:8.17.1" + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ">=5.0.2" + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + checksum: 10/4264ae92c0b3e59c7e309001e93079b26937aab181835fb7af79f906b22cd33b6196d96556dafb4e985742dd401e99139572242e9847661fdbc96556b9e6902d + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0"