Skip to content

Commit b9ea8cc

Browse files
authored
Update bot.js
appOwnershipCached is deprecated since v4.22.1, use ownershipCached instead
1 parent 55f3d93 commit b9ea8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class Bot extends EventEmitter {
132132

133133
// Ensure we own CSGO
134134
// We have to wait until app ownership is cached to safely check
135-
this.steamClient.once('appOwnershipCached', () => {
135+
this.steamClient.once('ownershipCached', () => {
136136
if (!this.steamClient.ownsApp(730)) {
137137
winston.info(`${this.username} doesn't own CS:GO, retrieving free license`);
138138

0 commit comments

Comments
 (0)