diff --git a/example/music-bot/index.js b/example/music-bot/index.js index f8302fa..a6c34df 100644 --- a/example/music-bot/index.js +++ b/example/music-bot/index.js @@ -46,7 +46,7 @@ player.on("queueEnd", (queue) => { queue.metadata.send("✅ | Queue finished!"); }); -client.on("message", async (message) => { +client.on("messageCreate", async (message) => { if (message.author.bot || !message.guild) return; if (!client.application?.owner) await client.application?.fetch(); diff --git a/example/music-bot/package.json b/example/music-bot/package.json index e550aa7..d61df96 100644 --- a/example/music-bot/package.json +++ b/example/music-bot/package.json @@ -11,6 +11,6 @@ "dependencies": { "@discordjs/opus": "^0.5.3", "discord-player": "^5.0.0-dev.m3", - "discord.js": "^13.0.0-dev.56b5b7e.1625313788" + "discord.js": "^13.0.0-dev.610b0b4.1625357028" } } diff --git a/package.json b/package.json index 1a61767..cf46d21 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@typescript-eslint/eslint-plugin": "^4.28.1", "@typescript-eslint/parser": "^4.28.1", "discord-api-types": "^0.18.1", - "discord.js": "^13.0.0-dev.56b5b7e.1625313788", + "discord.js": "^13.0.0-dev.610b0b4.1625357028", "eslint": "^7.30.0", "jsdoc-babel": "^0.5.0", "prettier": "^2.3.2", diff --git a/yarn.lock b/yarn.lock index 0c76002..cce9891 100644 --- a/yarn.lock +++ b/yarn.lock @@ -936,10 +936,10 @@ node-fetch "^2.6.1" reverbnation-scraper "^2.0.0" -"@discordjs/builders@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-0.1.1.tgz#d1e888ee8ef273cce639c79cb24abac7169cfb88" - integrity sha512-9eBC22bX2HBsob5ixMwZ6quy/vewU5GHuSJhpmSZ3cDGg8XPnrYdzbwI54U+V9kQBTa7M+aMu1lYVqMEPojj8A== +"@discordjs/builders@^0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-0.2.0.tgz#832c8d894aad13362db7a99f11a7826b21e4cd94" + integrity sha512-TVq7NZBCJrrTRc3CfxOr3IdgY5nrtqVxZ7qDUF1mN6LgxIiOldmFxsSwMrQBzLFVmOwqFyNLKCeblley8UpEuw== dependencies: discord-api-types "^0.18.1" tslib "^2.3.0" @@ -981,7 +981,7 @@ "@discordjs/node-pre-gyp" "^0.4.0" node-addon-api "^3.2.1" -"@discordjs/voice@^0.5.1": +"@discordjs/voice@0.5.1": version "0.5.1" resolved "https://registry.yarnpkg.com/@discordjs/voice/-/voice-0.5.1.tgz#265b05712196bbbb5b082b073807ef4582f067c7" integrity sha512-51NrtmfkGe6xJVMULjxXdQ9apPsqNyV1vZ/Qa57x6qM3TzWWQNyMfrLkjD+YvQtesZZpKZcQZI8NIknWUYiBNQ== @@ -2030,12 +2030,12 @@ discord-ytdl-core@^5.0.4: dependencies: prism-media "^1.2.9" -discord.js@^13.0.0-dev.56b5b7e.1625313788: - version "13.0.0-dev.56b5b7e.1625313788" - resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-13.0.0-dev.56b5b7e.1625313788.tgz#32931b0dd7fe25b32aec13e230497fdd1b3bee0d" - integrity sha512-D1d0fqjwa6ktn4yyZOE83Q/1sTl8ZNgJ95+cMUlK+FZBIe9G3nLHpHcCg+ph+SJIvQKUJubpzk2Yhbm/oJ1EvA== +discord.js@^13.0.0-dev.610b0b4.1625357028: + version "13.0.0-dev.610b0b4.1625357028" + resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-13.0.0-dev.610b0b4.1625357028.tgz#7e5f40b15980d05f42568a78290e166aab7597a3" + integrity sha512-uNHDkPSeVZ1HeXwagtEvDGqbUS8Hvtz2s39pwlkn6p9iQuDF+093mhvQSDiooGVSsWoU9sR2CHTwMSlZoRNIhg== dependencies: - "@discordjs/builders" "^0.1.1" + "@discordjs/builders" "^0.2.0" "@discordjs/collection" "^0.1.6" "@discordjs/form-data" "^3.0.1" "@sapphire/async-queue" "^1.1.4" @@ -4868,11 +4868,16 @@ write@1.0.3: dependencies: mkdirp "^0.5.1" -ws@^7.4.4, ws@^7.4.5, ws@^7.5.1: +ws@^7.4.4, ws@^7.4.5: version "7.5.1" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.1.tgz#44fc000d87edb1d9c53e51fbc69a0ac1f6871d66" integrity sha512-2c6faOUH/nhoQN6abwMloF7Iyl0ZS2E9HGtsiLrWn0zOOMWlhtDmdf/uihDt6jnuCxgtwGBNy6Onsoy2s2O2Ow== +ws@^7.5.1: + version "7.5.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.2.tgz#09cc8fea3bec1bc5ed44ef51b42f945be36900f6" + integrity sha512-lkF7AWRicoB9mAgjeKbGqVUekLnSNO4VjKVnuPHpQeOxZOErX6BPXwJk70nFslRCEEA8EVW7ZjKwXaP9N+1sKQ== + xml-name-validator@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"