1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -05:00

Compare commits

..

2 Commits

Author SHA1 Message Date
AnxietyisReal
9e0b4d9776 Lock DAPI-Types to specific version 2023-08-18 05:09:27 +10:00
Toast
d5f07cf4ea
Rename client-error to match the rest 2023-08-18 03:06:00 +10:00
4 changed files with 17 additions and 14 deletions

18
.pnp.cjs generated
View File

@ -105,7 +105,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@discordjs/formatters", "npm:0.3.1"],\ ["@discordjs/formatters", "npm:0.3.1"],\
["@discordjs/util", "npm:1.0.0"],\ ["@discordjs/util", "npm:1.0.0"],\
["@sapphire/shapeshift", "npm:3.9.2"],\ ["@sapphire/shapeshift", "npm:3.9.2"],\
["discord-api-types", "npm:0.37.51"],\ ["discord-api-types", "npm:0.37.53"],\
["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.3"],\
["tslib", "npm:2.6.1"]\ ["tslib", "npm:2.6.1"]\
@ -127,7 +127,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageLocation": "./.yarn/cache/@discordjs-formatters-npm-0.3.1-7840a49252-9635568785.zip/node_modules/@discordjs/formatters/",\ "packageLocation": "./.yarn/cache/@discordjs-formatters-npm-0.3.1-7840a49252-9635568785.zip/node_modules/@discordjs/formatters/",\
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/formatters", "npm:0.3.1"],\ ["@discordjs/formatters", "npm:0.3.1"],\
["discord-api-types", "npm:0.37.51"]\ ["discord-api-types", "npm:0.37.53"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -171,7 +171,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@sapphire/async-queue", "npm:1.5.0"],\ ["@sapphire/async-queue", "npm:1.5.0"],\
["@sapphire/snowflake", "npm:3.5.1"],\ ["@sapphire/snowflake", "npm:3.5.1"],\
["@vladfrangu/async_event_emitter", "npm:2.2.2"],\ ["@vladfrangu/async_event_emitter", "npm:2.2.2"],\
["discord-api-types", "npm:0.37.51"],\ ["discord-api-types", "npm:0.37.53"],\
["magic-bytes.js", "npm:1.0.15"],\ ["magic-bytes.js", "npm:1.0.15"],\
["tslib", "npm:2.6.1"],\ ["tslib", "npm:2.6.1"],\
["undici", "npm:5.23.0"]\ ["undici", "npm:5.23.0"]\
@ -194,7 +194,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
"packageDependencies": [\ "packageDependencies": [\
["@discordjs/voice", "npm:0.16.0"],\ ["@discordjs/voice", "npm:0.16.0"],\
["@types/ws", "npm:8.5.5"],\ ["@types/ws", "npm:8.5.5"],\
["discord-api-types", "npm:0.37.51"],\ ["discord-api-types", "npm:0.37.53"],\
["prism-media", "virtual:37f8ab283fb7abcf3fda3c5d430948901f33b8d771da32a273933562670e34608b1daf4394905868d946d64bc91643fb158184deae5131f973a7fcfafbc06afc#npm:1.3.5"],\ ["prism-media", "virtual:37f8ab283fb7abcf3fda3c5d430948901f33b8d771da32a273933562670e34608b1daf4394905868d946d64bc91643fb158184deae5131f973a7fcfafbc06afc#npm:1.3.5"],\
["tslib", "npm:2.6.1"],\ ["tslib", "npm:2.6.1"],\
["ws", "virtual:9ce84a0604ad02832e33621299f919cd218b24239fb0c46d80371b76a2e2bb3fa8fbeca210d63d15caaa18cb4bd437d3b404ee91d06cb167e4b2efa32b8e514c#npm:8.13.0"]\ ["ws", "virtual:9ce84a0604ad02832e33621299f919cd218b24239fb0c46d80371b76a2e2bb3fa8fbeca210d63d15caaa18cb4bd437d3b404ee91d06cb167e4b2efa32b8e514c#npm:8.13.0"]\
@ -213,7 +213,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@sapphire/async-queue", "npm:1.5.0"],\ ["@sapphire/async-queue", "npm:1.5.0"],\
["@types/ws", "npm:8.5.5"],\ ["@types/ws", "npm:8.5.5"],\
["@vladfrangu/async_event_emitter", "npm:2.2.2"],\ ["@vladfrangu/async_event_emitter", "npm:2.2.2"],\
["discord-api-types", "npm:0.37.51"],\ ["discord-api-types", "npm:0.37.53"],\
["tslib", "npm:2.6.1"],\ ["tslib", "npm:2.6.1"],\
["ws", "virtual:9ce84a0604ad02832e33621299f919cd218b24239fb0c46d80371b76a2e2bb3fa8fbeca210d63d15caaa18cb4bd437d3b404ee91d06cb167e4b2efa32b8e514c#npm:8.13.0"]\ ["ws", "virtual:9ce84a0604ad02832e33621299f919cd218b24239fb0c46d80371b76a2e2bb3fa8fbeca210d63d15caaa18cb4bd437d3b404ee91d06cb167e4b2efa32b8e514c#npm:8.13.0"]\
],\ ],\
@ -1048,10 +1048,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["discord-api-types", [\ ["discord-api-types", [\
["npm:0.37.51", {\ ["npm:0.37.53", {\
"packageLocation": "./.yarn/cache/discord-api-types-npm-0.37.51-89cec04373-0f6c8a5c31.zip/node_modules/discord-api-types/",\ "packageLocation": "./.yarn/cache/discord-api-types-npm-0.37.53-511d5a32e5-cff6bc976f.zip/node_modules/discord-api-types/",\
"packageDependencies": [\ "packageDependencies": [\
["discord-api-types", "npm:0.37.51"]\ ["discord-api-types", "npm:0.37.53"]\
],\ ],\
"linkType": "HARD"\ "linkType": "HARD"\
}]\ }]\
@ -1104,7 +1104,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@discordjs/ws", "npm:1.0.0"],\ ["@discordjs/ws", "npm:1.0.0"],\
["@sapphire/snowflake", "npm:3.5.1"],\ ["@sapphire/snowflake", "npm:3.5.1"],\
["@types/ws", "npm:8.5.5"],\ ["@types/ws", "npm:8.5.5"],\
["discord-api-types", "npm:0.37.51"],\ ["discord-api-types", "npm:0.37.53"],\
["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.1"],\ ["tslib", "npm:2.6.1"],\

View File

@ -49,5 +49,8 @@
"devDependencies": { "devDependencies": {
"@types/ms": "0.7.31", "@types/ms": "0.7.31",
"@types/node": "20.5.0" "@types/node": "20.5.0"
},
"resolutions": {
"discord-api-types": "0.37.53"
} }
} }

View File

@ -41,7 +41,7 @@ function DZ(error:Error, type:string){// Yes, I may have shiternet but I don't n
process.on('unhandledRejection', (error: Error)=>DZ(error, 'unhandledRejection')); process.on('unhandledRejection', (error: Error)=>DZ(error, 'unhandledRejection'));
process.on('uncaughtException', (error: Error)=>DZ(error, 'uncaughtException')); process.on('uncaughtException', (error: Error)=>DZ(error, 'uncaughtException'));
process.on('error', (error: Error)=>DZ(error, 'nodeError')); process.on('error', (error: Error)=>DZ(error, 'nodeError'));
client.on('error', (error: Error)=>DZ(error, 'client-error')); client.on('error', (error: Error)=>DZ(error, 'clientError'));
// Audio Player event handling // Audio Player event handling
if (client.config.botSwitches.music){ if (client.config.botSwitches.music){

View File

@ -838,10 +838,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"discord-api-types@npm:^0.37.37, discord-api-types@npm:^0.37.41, discord-api-types@npm:^0.37.50": "discord-api-types@npm:0.37.53":
version: 0.37.51 version: 0.37.53
resolution: "discord-api-types@npm:0.37.51" resolution: "discord-api-types@npm:0.37.53"
checksum: 0f6c8a5c316896e333ffb7c95ad31eff51053848cff23a9e47849e27b1f92a342df3e90eb304bf1d1410981b64d7d07a327f883722ffe75c064ae096dd3e9721 checksum: cff6bc976f01d6c9550e48ab758cb2a2ac9042272174d4384915b830aecc4a5551f9dafe3ec21382214700b4188c766ab318179458e4e09e9df9f45a3f4902ed
languageName: node languageName: node
linkType: hard linkType: hard