mirror of
https://github.com/danbulant/discord.js
synced 2026-06-17 13:41:29 +00:00
Give the setPlayingGame callback a default value
to be consistent with other functions.
This commit is contained in:
parent
f018ccebed
commit
385da190ba
1 changed files with 1 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ export default class Client extends EventEmitter {
|
|||
return this.setStatusIdle(callback);
|
||||
}
|
||||
|
||||
setPlayingGame(game, callback) {
|
||||
setPlayingGame(game, callback = (/*err, {}*/ => { })) {
|
||||
return this.setStatus(null, game, callback);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue