parent
eaf8167ce4
commit
85d2bdbdc4
@ -31,7 +31,7 @@ const UNRESUMABLE_CLOSE_CODES = [
|
||||
* The WebSocket manager for this client.
|
||||
* <info>This class forwards raw dispatch events,
|
||||
* read more about it here {@link https://discord.com/developers/docs/topics/gateway}</info>
|
||||
* @extends EventEmitter
|
||||
* @extends {EventEmitter}
|
||||
*/
|
||||
class WebSocketManager extends EventEmitter {
|
||||
constructor(client) {
|
||||
|
@ -14,7 +14,7 @@ let Worker = null;
|
||||
* A self-contained shard created by the {@link ShardingManager}. Each one has a {@link ChildProcess} that contains
|
||||
* an instance of the bot and its {@link Client}. When its child process/worker exits for any reason, the shard will
|
||||
* spawn a new one to replace it as necessary.
|
||||
* @extends EventEmitter
|
||||
* @extends {EventEmitter}
|
||||
*/
|
||||
class Shard extends EventEmitter {
|
||||
constructor(manager, id) {
|
||||
|
@ -11,6 +11,7 @@ const AssetTypes = Object.keys(ClientApplicationAssetTypes);
|
||||
|
||||
/**
|
||||
* Represents an OAuth2 Application.
|
||||
* @extends {Base}
|
||||
* @abstract
|
||||
*/
|
||||
class DeveloperPortalApplication extends Base {
|
||||
|
@ -3,7 +3,8 @@
|
||||
const { Channel } = require('./Channel');
|
||||
|
||||
/**
|
||||
* Represents a channel that displays a directory of guilds
|
||||
* Represents a channel that displays a directory of guilds.
|
||||
* @extends {Channel}
|
||||
*/
|
||||
class DirectoryChannel extends Channel {
|
||||
_patch(data) {
|
||||
|
@ -19,7 +19,8 @@ const IntegrationApplication = require('./IntegrationApplication');
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents a guild integration.
|
||||
* Represents a guild integration.
|
||||
* @extends {Base}
|
||||
*/
|
||||
class Integration extends Base {
|
||||
constructor(client, data, guild) {
|
||||
|
@ -5,6 +5,7 @@ const { Error, TypeError } = require('../errors');
|
||||
|
||||
/**
|
||||
* Represents the voice state for a Guild Member.
|
||||
* @extends {Base}
|
||||
*/
|
||||
class VoiceState extends Base {
|
||||
constructor(guild, data) {
|
||||
|
@ -6,6 +6,7 @@ const WidgetMember = require('./WidgetMember');
|
||||
|
||||
/**
|
||||
* Represents a Widget.
|
||||
* @extends {Base}
|
||||
*/
|
||||
class Widget extends Base {
|
||||
constructor(client, data) {
|
||||
|
@ -4,6 +4,7 @@ const Base = require('./Base');
|
||||
|
||||
/**
|
||||
* Represents a WidgetMember.
|
||||
* @extends {Base}
|
||||
*/
|
||||
class WidgetMember extends Base {
|
||||
/**
|
||||
|
@ -12,6 +12,7 @@ let deprecationEmittedForFetchAssets = false;
|
||||
|
||||
/**
|
||||
* Represents an OAuth2 Application.
|
||||
* @extends {Base}
|
||||
* @abstract
|
||||
*/
|
||||
class Application extends Base {
|
||||
|
@ -25,6 +25,7 @@ const Util = require('../../util/Util');
|
||||
|
||||
/**
|
||||
* Abstract class for defining a new Collector.
|
||||
* @extends {EventEmitter}
|
||||
* @abstract
|
||||
*/
|
||||
class Collector extends EventEmitter {
|
||||
|
Loading…
Reference in New Issue
Block a user