Skip to content

Commit

Permalink
hotfix (#1737)
Browse files Browse the repository at this point in the history
Mittelblut9 authored Oct 16, 2023
2 parents b2538a8 + d7c2a9f commit 1ba863a
Showing 3 changed files with 125 additions and 125 deletions.
240 changes: 120 additions & 120 deletions package-lock.json
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -57,10 +57,10 @@
"@distube/ytdl-core": "^4.13.2",
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@napi-rs/canvas": "^0.1.44",
"@sentry/node": "^7.73.0",
"@sentry/node": "^7.74.0",
"@sentry/profiling-node": "^1.2.1",
"@stdlib/assert-is-uri": "^0.1.1",
"@twurple/api": "^7.0.3",
"@twurple/api": "^7.0.4",
"@twurple/auth": "^7.0.0",
"axios": "^1.5.1",
"caller-id": "^0.1.0",
@@ -79,7 +79,7 @@
"link-module-alias": "^1.2.0",
"module-alias": "^2.2.3",
"moment-timezone": "^0.5.43",
"mysql2": "^3.6.1",
"mysql2": "^3.6.2",
"nconf": "^0.12.0",
"patch-package": "^8.0.0",
"random-animals-api": "^1.2.6",
4 changes: 2 additions & 2 deletions utils/classes/Notifications/YouTube/YouTubeNotification.js
Original file line number Diff line number Diff line change
@@ -249,7 +249,7 @@ module.exports = class YouTubeNotification extends YouTubeLogic {
return null;
});

if (!message) {
if (!message || typeof message !== Message) {
return resolve(false);
}

@@ -272,7 +272,7 @@ module.exports = class YouTubeNotification extends YouTubeLogic {
this.updateUpdateCount(messageId);

errorhandler({
err: `I have failed to update a youtube upload message to ${channel.name}(${channel.id}) in ${guild.name} (${guild.id})) | ${err.message}`,
err: `I have failed to update a youtube upload message to ${channel.name}(${channel.id}) in ${guild.name} (${guild.id})) | ${err.message} | message: ${message?.content}`,
fatal: true,
});
return false;

0 comments on commit 1ba863a

Please sign in to comment.