mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
fix(Client) added a forgotten keyword "this" (#5598)
This commit is contained in:
@@ -129,7 +129,7 @@ class Client extends BaseClient {
|
|||||||
* @private
|
* @private
|
||||||
* @type {ClientPresence}
|
* @type {ClientPresence}
|
||||||
*/
|
*/
|
||||||
this.presence = new ClientPresence(this, options.presence);
|
this.presence = new ClientPresence(this, this.options.presence);
|
||||||
|
|
||||||
Object.defineProperty(this, 'token', { writable: true });
|
Object.defineProperty(this, 'token', { writable: true });
|
||||||
if (!this.token && 'DISCORD_TOKEN' in process.env) {
|
if (!this.token && 'DISCORD_TOKEN' in process.env) {
|
||||||
|
|||||||
Reference in New Issue
Block a user