Skip to content

Commit

Permalink
chore(deps): bump discord.js from 12.3.1 to 12.4.0 (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Oct 20, 2020
1 parent f49dfe9 commit 521d44e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"date-fns": "^2.16.1",
"discord.js": "^12.3.1",
"discord.js": "^12.4.0",
"dotenv": "^8.2.0",
"ffmpeg-static": "^4.2.7",
"html-entities": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/PlayCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class PlayCommand extends BaseCommand {
return guild.queue = null;
}

serverQueue.connection!.voice.setSelfDeaf(true);
serverQueue.connection!.voice!.setSelfDeaf(true);
const songData = await ytdl(song.url, { cache: this.client.config.cacheYoutubeDownloads, cacheMaxLength: this.client.config.cacheMaxLengthAllowed });

if (songData.cache) this.client.log.info(`${this.client.shard ? `[Shard #${this.client.shard.ids}]` : ""} Using cache for song "${song.title}" on ${guild.name}`);
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -591,15 +591,15 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"

discord.js@^12.3.1:
version "12.3.1"
resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-12.3.1.tgz#8f58ac17d29b068dbfeb6c01fc7777bacd5324cf"
integrity sha512-mSFyV/mbvzH12UXdS4zadmeUf8IMQOo/YdunubG1wWt1xjWvtaJz/s9CGsFD2B5pTw1W/LXxxUbrQjIZ/xlUdw==
discord.js@^12.4.0:
version "12.4.0"
resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-12.4.0.tgz#a96864495ec766fab25225b2123a9704c667280b"
integrity sha512-Lc+/vKzih1DPEya/0MO0BAp4Ru/4+MfDsOJkfbyzGoyIlFqiWSQ78RdyRk4tqAtabl6d5QR4Ygo0Ub0TGEsXBg==
dependencies:
"@discordjs/collection" "^0.1.6"
"@discordjs/form-data" "^3.0.1"
abort-controller "^3.0.0"
node-fetch "^2.6.0"
node-fetch "^2.6.1"
prism-media "^1.2.2"
setimmediate "^1.0.5"
tweetnacl "^1.0.3"
Expand Down Expand Up @@ -1252,7 +1252,7 @@ node-addon-api@^2.0.0:
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32"
integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==

node-fetch@^2.6.0:
node-fetch@^2.6.0, node-fetch@^2.6.1:
version "2.6.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
Expand Down

0 comments on commit 521d44e

Please sign in to comment.