mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix(ClientPresence): use possibly extended constructor from structures
This commit is contained in:
parent
1428967238
commit
6b810b2331
1 changed files with 2 additions and 1 deletions
|
|
@ -14,10 +14,10 @@ const VoiceBroadcast = require('./voice/VoiceBroadcast');
|
|||
const UserStore = require('../stores/UserStore');
|
||||
const ChannelStore = require('../stores/ChannelStore');
|
||||
const GuildStore = require('../stores/GuildStore');
|
||||
const ClientPresence = require('../structures/ClientPresence');
|
||||
const GuildEmojiStore = require('../stores/GuildEmojiStore');
|
||||
const { Events, browser } = require('../util/Constants');
|
||||
const DataResolver = require('../util/DataResolver');
|
||||
const Structures = require('../util/Structures');
|
||||
const { Error, TypeError, RangeError } = require('../errors');
|
||||
|
||||
/**
|
||||
|
|
@ -96,6 +96,7 @@ class Client extends BaseClient {
|
|||
*/
|
||||
this.channels = new ChannelStore(this);
|
||||
|
||||
const ClientPresence = Structures.get('ClientPresence');
|
||||
/**
|
||||
* The presence of the Client
|
||||
* @private
|
||||
|
|
|
|||
Loading…
Reference in a new issue