From b55516f67f953e3306903e705dac050004bae1a7 Mon Sep 17 00:00:00 2001 From: 3urobeat <35304405+HerrEurobeat@users.noreply.github.com> Date: Fri, 12 May 2023 23:46:31 +0200 Subject: [PATCH] Oops, wrong object name --- components/sharedfiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/sharedfiles.js b/components/sharedfiles.js index 13ac48a..8670421 100644 --- a/components/sharedfiles.js +++ b/components/sharedfiles.js @@ -87,7 +87,7 @@ SteamCommunity.prototype.postSharedfileComment = function(userID, sid, message, * @param {String} sid ID of the sharedfileof * @param {function} callback - Takes only an Error object/null as the first argument */ -Bot.prototype.subscribeSharedfileComments = function(userID, sid, callback) { +SteamCommunity.prototype.subscribeSharedfileComments = function(userID, sid, callback) { if (typeof userID === "string") { userID = new SteamID(userID); } @@ -135,7 +135,7 @@ Bot.prototype.subscribeSharedfileComments = function(userID, sid, callback) { * @param {String} sid - ID of the sharedfileof * @param {function} callback - Takes only an Error object/null as the first argument */ -Bot.prototype.unsubscribeSharedfileComments = function(userID, sid, callback) { +SteamCommunity.prototype.unsubscribeSharedfileComments = function(userID, sid, callback) { if (typeof userID === "string") { userID = new SteamID(userID); }