1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 16:30:59 -04:00

Temporarily switching to D.JS 14.13

This commit is contained in:
Toast 2023-08-13 03:18:46 +10:00
parent a102ae931c
commit c3a86c8e39
5 changed files with 16 additions and 15 deletions

12
.pnp.cjs generated
View File

@ -37,7 +37,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["axios", "npm:1.4.0"],\ ["axios", "npm:1.4.0"],\
["canvas", "npm:2.11.2"],\ ["canvas", "npm:2.11.2"],\
["discord-player", "virtual:20c353e2d6536e37339997f03975c6a660f4d296e664d291bd43620c6162cca8eb5ef90b0998dc9db75ff6862e5da587d0530bae26805f5fadc8f17aaa4ff794#npm:6.6.2"],\ ["discord-player", "virtual:20c353e2d6536e37339997f03975c6a660f4d296e664d291bd43620c6162cca8eb5ef90b0998dc9db75ff6862e5da587d0530bae26805f5fadc8f17aaa4ff794#npm:6.6.2"],\
["discord.js", "npm:14.12.1"],\ ["discord.js", "npm:14.13.0-dev.1691841828-9ed1b59df.0"],\
["libsodium-wrappers", "npm:0.7.11"],\ ["libsodium-wrappers", "npm:0.7.11"],\
["moment", "npm:2.29.4"],\ ["moment", "npm:2.29.4"],\
["mongoose", "npm:7.4.3"],\ ["mongoose", "npm:7.4.3"],\
@ -945,7 +945,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["axios", "npm:1.4.0"],\ ["axios", "npm:1.4.0"],\
["canvas", "npm:2.11.2"],\ ["canvas", "npm:2.11.2"],\
["discord-player", "virtual:20c353e2d6536e37339997f03975c6a660f4d296e664d291bd43620c6162cca8eb5ef90b0998dc9db75ff6862e5da587d0530bae26805f5fadc8f17aaa4ff794#npm:6.6.2"],\ ["discord-player", "virtual:20c353e2d6536e37339997f03975c6a660f4d296e664d291bd43620c6162cca8eb5ef90b0998dc9db75ff6862e5da587d0530bae26805f5fadc8f17aaa4ff794#npm:6.6.2"],\
["discord.js", "npm:14.12.1"],\ ["discord.js", "npm:14.13.0-dev.1691841828-9ed1b59df.0"],\
["libsodium-wrappers", "npm:0.7.11"],\ ["libsodium-wrappers", "npm:0.7.11"],\
["moment", "npm:2.29.4"],\ ["moment", "npm:2.29.4"],\
["mongoose", "npm:7.4.3"],\ ["mongoose", "npm:7.4.3"],\
@ -1076,7 +1076,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
["@types/discord-player__extractor", null],\ ["@types/discord-player__extractor", null],\
["@types/discord.js", null],\ ["@types/discord.js", null],\
["@types/youtube-sr", null],\ ["@types/youtube-sr", null],\
["discord.js", "npm:14.12.1"],\ ["discord.js", "npm:14.13.0-dev.1691841828-9ed1b59df.0"],\
["libsodium-wrappers", "npm:0.7.11"],\ ["libsodium-wrappers", "npm:0.7.11"],\
["youtube-sr", "npm:4.3.4"]\ ["youtube-sr", "npm:4.3.4"]\
],\ ],\
@ -1092,10 +1092,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) {
}]\ }]\
]],\ ]],\
["discord.js", [\ ["discord.js", [\
["npm:14.12.1", {\ ["npm:14.13.0-dev.1691841828-9ed1b59df.0", {\
"packageLocation": "./.yarn/cache/discord.js-npm-14.12.1-859120127f-059c6c2fde.zip/node_modules/discord.js/",\ "packageLocation": "./.yarn/cache/discord.js-npm-14.13.0-dev.1691841828-9ed1b59df.0-5205132e1c-c584c642a6.zip/node_modules/discord.js/",\
"packageDependencies": [\ "packageDependencies": [\
["discord.js", "npm:14.12.1"],\ ["discord.js", "npm:14.13.0-dev.1691841828-9ed1b59df.0"],\
["@discordjs/builders", "npm:1.6.4"],\ ["@discordjs/builders", "npm:1.6.4"],\
["@discordjs/collection", "npm:1.5.2"],\ ["@discordjs/collection", "npm:1.5.2"],\
["@discordjs/formatters", "npm:0.3.1"],\ ["@discordjs/formatters", "npm:0.3.1"],\

View File

@ -34,7 +34,7 @@
"axios": "1.4.0", "axios": "1.4.0",
"canvas": "2.11.2", "canvas": "2.11.2",
"discord-player": "6.6.2", "discord-player": "6.6.2",
"discord.js": "14.12.1", "discord.js": "dev",
"libsodium-wrappers": "0.7.11", "libsodium-wrappers": "0.7.11",
"moment": "2.29.4", "moment": "2.29.4",
"mongoose": "7.4.3", "mongoose": "7.4.3",

View File

@ -91,7 +91,7 @@ export default {
case 1: return 'Streaming'; case 1: return 'Streaming';
case 2: return 'Listening to'; case 2: return 'Listening to';
case 3: return 'Watching'; case 3: return 'Watching';
//case 4: return 'Custom Status'; // Will be enabled once PR #9743 on D.JS repo merges in. case 4: return 'Custom Status'; // Will be enabled once PR #9743 on D.JS repo merges in.
case 5: return 'Competing in'; case 5: return 'Competing in';
} }
}; };
@ -182,6 +182,7 @@ export default {
{name: 'Streaming', value: Discord.ActivityType.Streaming}, {name: 'Streaming', value: Discord.ActivityType.Streaming},
{name: 'Listening to', value: Discord.ActivityType.Listening}, {name: 'Listening to', value: Discord.ActivityType.Listening},
{name: 'Watching', value: Discord.ActivityType.Watching}, {name: 'Watching', value: Discord.ActivityType.Watching},
{name: 'Custom Status', value: Discord.ActivityType.Custom},
{name: 'Competing in', value: Discord.ActivityType.Competing} {name: 'Competing in', value: Discord.ActivityType.Competing}
)) ))
.addStringOption(x=>x .addStringOption(x=>x

View File

@ -26,8 +26,8 @@
"autores": true "autores": true
}, },
"botPresence": { "botPresence": {
"activities": [ "activities": [
{"name": "the fish", "url": "https://www.youtube.com/watch?v=HVMc1ANfeMw", "type": 1} {"name": "Custom Status", "state": "funni custom status", "url": "https://www.youtube.com/watch?v=HVMc1ANfeMw", "type": 4}
], ],
"status": "online" "status": "online"
}, },

View File

@ -761,7 +761,7 @@ __metadata:
axios: 1.4.0 axios: 1.4.0
canvas: 2.11.2 canvas: 2.11.2
discord-player: 6.6.2 discord-player: 6.6.2
discord.js: 14.12.1 discord.js: dev
libsodium-wrappers: 0.7.11 libsodium-wrappers: 0.7.11
moment: 2.29.4 moment: 2.29.4
mongoose: 7.4.3 mongoose: 7.4.3
@ -862,9 +862,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"discord.js@npm:14.12.1": "discord.js@npm:dev":
version: 14.12.1 version: 14.13.0-dev.1691841828-9ed1b59df.0
resolution: "discord.js@npm:14.12.1" resolution: "discord.js@npm:14.13.0-dev.1691841828-9ed1b59df.0"
dependencies: dependencies:
"@discordjs/builders": ^1.6.4 "@discordjs/builders": ^1.6.4
"@discordjs/collection": ^1.5.2 "@discordjs/collection": ^1.5.2
@ -880,7 +880,7 @@ __metadata:
tslib: ^2.6.1 tslib: ^2.6.1
undici: ^5.22.1 undici: ^5.22.1
ws: ^8.13.0 ws: ^8.13.0
checksum: 059c6c2fdec22319e8aa8d5f54392db0066e959a7418440d1dab3b0e7814b0c4a7311ed15500147e959f9409e63e2dbe0b1f159f9c2693d8cd321a216b92fdaf checksum: c584c642a6ddb971d5059b44a01ec3b184fe4280e62d5b14261389514ddf897d3398f84bb7fd6eeeb6115c4eaf45c2fce0077182c5f9bc073f516310281b9b07
languageName: node languageName: node
linkType: hard linkType: hard