feat: Music support #62

Merged
Anri merged 43 commits from feat/music into main 2023-02-12 01:11:10 +01:00
2 changed files with 70 additions and 83 deletions
Showing only changes of commit 1fee489ae8 - Show all commits

151
package-lock.json generated
View file

@ -15,7 +15,7 @@
"@types/sqlite3": "^3.1.8", "@types/sqlite3": "^3.1.8",
"@types/uuid": "^9.0.0", "@types/uuid": "^9.0.0",
"discord-api-types": "^0.37.32", "discord-api-types": "^0.37.32",
"discord-player": "^6.0.0-dev.2", "discord-player": "^5.4.1-dev.0",
"discord.js": "^14.7.1", "discord.js": "^14.7.1",
"ffmpeg-static": "^5.1.0", "ffmpeg-static": "^5.1.0",
"node-fetch": "^2.6.9", "node-fetch": "^2.6.9",
@ -84,9 +84,9 @@
} }
}, },
"node_modules/@discord-player/utils": { "node_modules/@discord-player/utils": {
"version": "0.1.0-dev", "version": "0.1.0",
"resolved": "https://registry.npmjs.org/@discord-player/utils/-/utils-0.1.0-dev.tgz", "resolved": "https://registry.npmjs.org/@discord-player/utils/-/utils-0.1.0.tgz",
"integrity": "sha512-1EpPYQTCksvKdsHCB+bSIltejA6mKQ2+Ha4ptWsN78idrHqbJPxWeM+GpUrRQ7aQChjVpnnBejOW9Uo7DnxJXg==", "integrity": "sha512-VqUvCqecQ6tCFqWszlrr7hQ7E+2BInFWM69dsK8YtDOyR6PrVHTHf1R4Io5C4PygeWJrjLnP0kqFgkVj+Hn2Rw==",
"dependencies": { "dependencies": {
"@discordjs/collection": "^1.1.0" "@discordjs/collection": "^1.1.0"
} }
@ -1089,18 +1089,6 @@
"fsevents": "~2.3.2" "fsevents": "~2.3.2"
} }
}, },
"node_modules/chokidar/node_modules/glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"dependencies": {
"is-glob": "^4.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/chownr": { "node_modules/chownr": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",
@ -1289,20 +1277,21 @@
} }
}, },
"node_modules/discord-api-types": { "node_modules/discord-api-types": {
"version": "0.37.32", "version": "0.37.33",
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.32.tgz", "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.33.tgz",
"integrity": "sha512-oUA4dhrzFOkvIWOc9WvKhPwsezUUVd5v5M7am1uupnRZjOmpE9RJMS0fTCUqNiMRlNAaZwPEy09UZOdIR9CyGQ==" "integrity": "sha512-ZMH5RU3q1pvYS+2wGUJ5Zvy8jMGTQ4wCpbDlIQDkbIL/k6kJwBPsXnCg81g2GywlOuf0f8ezakxVSe+sZuY6ig=="
}, },
"node_modules/discord-player": { "node_modules/discord-player": {
"version": "6.0.0-dev.2", "version": "5.4.1-dev.0",
"resolved": "https://registry.npmjs.org/discord-player/-/discord-player-6.0.0-dev.2.tgz", "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-5.4.1-dev.0.tgz",
"integrity": "sha512-5VJ06/+jcteWyzSF8oNpurZCRTMAU2A942QTGjCqR7VolVy0vq2M1O0T3p9CKenuRaLMDcSdgOf99ZPYUja5EQ==", "integrity": "sha512-5bxVIpP9TRmBxts2sMrNaHxZDp+0jXq8tDh8NS6+OdfuAhXsmcqVu7Aq1ZefGB1iTseuqYltUhsWTVF7axKOrA==",
"dependencies": { "dependencies": {
"@discord-player/equalizer": "dev", "@discord-player/equalizer": "*",
"@discord-player/extractor": "dev", "@discord-player/extractor": "*",
"@discord-player/utils": "dev", "@discord-player/utils": "*",
"@discordjs/voice": "^0.11.0", "@discordjs/voice": "^0.11.0",
"libsodium-wrappers": "^0.7.10" "libsodium-wrappers": "^0.7.10",
"tiny-typed-emitter": "^2.1.0"
}, },
"funding": { "funding": {
"url": "https://github.com/Androz2091/discord-player?sponsor=1" "url": "https://github.com/Androz2091/discord-player?sponsor=1"
@ -1599,6 +1588,18 @@
"node": ">=4.0" "node": ">=4.0"
} }
}, },
"node_modules/eslint/node_modules/glob-parent": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
"dev": true,
"dependencies": {
"is-glob": "^4.0.3"
},
"engines": {
"node": ">=10.13.0"
}
},
"node_modules/espree": { "node_modules/espree": {
"version": "9.4.1", "version": "9.4.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz",
@ -1697,18 +1698,6 @@
"node": ">=8.6.0" "node": ">=8.6.0"
} }
}, },
"node_modules/fast-glob/node_modules/glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"dependencies": {
"is-glob": "^4.0.1"
},
"engines": {
"node": ">= 6"
}
},
"node_modules/fast-json-stable-stringify": { "node_modules/fast-json-stable-stringify": {
"version": "2.1.0", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
@ -1904,15 +1893,15 @@
} }
}, },
"node_modules/glob-parent": { "node_modules/glob-parent": {
"version": "6.0.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"is-glob": "^4.0.3" "is-glob": "^4.0.1"
}, },
"engines": { "engines": {
"node": ">=10.13.0" "node": ">= 6"
} }
}, },
"node_modules/globals": { "node_modules/globals": {
@ -3704,6 +3693,11 @@
"integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
"dev": true "dev": true
}, },
"node_modules/tiny-typed-emitter": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz",
"integrity": "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA=="
},
"node_modules/to-regex-range": { "node_modules/to-regex-range": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@ -4185,9 +4179,9 @@
} }
}, },
"@discord-player/utils": { "@discord-player/utils": {
"version": "0.1.0-dev", "version": "0.1.0",
"resolved": "https://registry.npmjs.org/@discord-player/utils/-/utils-0.1.0-dev.tgz", "resolved": "https://registry.npmjs.org/@discord-player/utils/-/utils-0.1.0.tgz",
"integrity": "sha512-1EpPYQTCksvKdsHCB+bSIltejA6mKQ2+Ha4ptWsN78idrHqbJPxWeM+GpUrRQ7aQChjVpnnBejOW9Uo7DnxJXg==", "integrity": "sha512-VqUvCqecQ6tCFqWszlrr7hQ7E+2BInFWM69dsK8YtDOyR6PrVHTHf1R4Io5C4PygeWJrjLnP0kqFgkVj+Hn2Rw==",
"requires": { "requires": {
"@discordjs/collection": "^1.1.0" "@discordjs/collection": "^1.1.0"
} }
@ -4920,17 +4914,6 @@
"is-glob": "~4.0.1", "is-glob": "~4.0.1",
"normalize-path": "~3.0.0", "normalize-path": "~3.0.0",
"readdirp": "~3.6.0" "readdirp": "~3.6.0"
},
"dependencies": {
"glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"requires": {
"is-glob": "^4.0.1"
}
}
} }
}, },
"chownr": { "chownr": {
@ -5071,20 +5054,21 @@
} }
}, },
"discord-api-types": { "discord-api-types": {
"version": "0.37.32", "version": "0.37.33",
"resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.32.tgz", "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.37.33.tgz",
"integrity": "sha512-oUA4dhrzFOkvIWOc9WvKhPwsezUUVd5v5M7am1uupnRZjOmpE9RJMS0fTCUqNiMRlNAaZwPEy09UZOdIR9CyGQ==" "integrity": "sha512-ZMH5RU3q1pvYS+2wGUJ5Zvy8jMGTQ4wCpbDlIQDkbIL/k6kJwBPsXnCg81g2GywlOuf0f8ezakxVSe+sZuY6ig=="
}, },
"discord-player": { "discord-player": {
"version": "6.0.0-dev.2", "version": "5.4.1-dev.0",
"resolved": "https://registry.npmjs.org/discord-player/-/discord-player-6.0.0-dev.2.tgz", "resolved": "https://registry.npmjs.org/discord-player/-/discord-player-5.4.1-dev.0.tgz",
"integrity": "sha512-5VJ06/+jcteWyzSF8oNpurZCRTMAU2A942QTGjCqR7VolVy0vq2M1O0T3p9CKenuRaLMDcSdgOf99ZPYUja5EQ==", "integrity": "sha512-5bxVIpP9TRmBxts2sMrNaHxZDp+0jXq8tDh8NS6+OdfuAhXsmcqVu7Aq1ZefGB1iTseuqYltUhsWTVF7axKOrA==",
"requires": { "requires": {
"@discord-player/equalizer": "dev", "@discord-player/equalizer": "*",
"@discord-player/extractor": "dev", "@discord-player/extractor": "*",
"@discord-player/utils": "dev", "@discord-player/utils": "*",
"@discordjs/voice": "^0.11.0", "@discordjs/voice": "^0.11.0",
"libsodium-wrappers": "^0.7.10" "libsodium-wrappers": "^0.7.10",
"tiny-typed-emitter": "^2.1.0"
} }
}, },
"discord.js": { "discord.js": {
@ -5267,6 +5251,15 @@
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
"dev": true "dev": true
},
"glob-parent": {
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
"dev": true,
"requires": {
"is-glob": "^4.0.3"
}
} }
} }
}, },
@ -5376,17 +5369,6 @@
"glob-parent": "^5.1.2", "glob-parent": "^5.1.2",
"merge2": "^1.3.0", "merge2": "^1.3.0",
"micromatch": "^4.0.4" "micromatch": "^4.0.4"
},
"dependencies": {
"glob-parent": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true,
"requires": {
"is-glob": "^4.0.1"
}
}
} }
}, },
"fast-json-stable-stringify": { "fast-json-stable-stringify": {
@ -5540,12 +5522,12 @@
} }
}, },
"glob-parent": { "glob-parent": {
"version": "6.0.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dev": true, "dev": true,
"requires": { "requires": {
"is-glob": "^4.0.3" "is-glob": "^4.0.1"
} }
}, },
"globals": { "globals": {
@ -6838,6 +6820,11 @@
"integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
"dev": true "dev": true
}, },
"tiny-typed-emitter": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz",
"integrity": "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA=="
},
"to-regex-range": { "to-regex-range": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",

View file

@ -22,7 +22,7 @@
"@types/sqlite3": "^3.1.8", "@types/sqlite3": "^3.1.8",
"@types/uuid": "^9.0.0", "@types/uuid": "^9.0.0",
"discord-api-types": "^0.37.32", "discord-api-types": "^0.37.32",
"discord-player": "^6.0.0-dev.2", "discord-player": "^5.4.1-dev.0",
"discord.js": "^14.7.1", "discord.js": "^14.7.1",
"ffmpeg-static": "^5.1.0", "ffmpeg-static": "^5.1.0",
"node-fetch": "^2.6.9", "node-fetch": "^2.6.9",