mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
Give the setPlayingGame callback a default value
to be consistent with other functions.
This commit is contained in:
@@ -498,7 +498,7 @@ export default class Client extends EventEmitter {
|
|||||||
return this.setStatusIdle(callback);
|
return this.setStatusIdle(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
setPlayingGame(game, callback) {
|
setPlayingGame(game, callback = (/*err, {}*/ => { })) {
|
||||||
return this.setStatus(null, game, callback);
|
return this.setStatus(null, game, callback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user