mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
docs: fix typos (#2868)
This commit is contained in:
@@ -216,7 +216,7 @@ class VoiceWebSocket extends EventEmitter {
|
|||||||
}
|
}
|
||||||
if (this.heartbeatInterval) {
|
if (this.heartbeatInterval) {
|
||||||
/**
|
/**
|
||||||
* Emitted whenver the voice WebSocket encounters a non-fatal error.
|
* Emitted whenever the voice WebSocket encounters a non-fatal error.
|
||||||
* @param {string} warn The warning
|
* @param {string} warn The warning
|
||||||
* @event VoiceWebSocket#warn
|
* @event VoiceWebSocket#warn
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -337,7 +337,7 @@ class WebSocketConnection extends EventEmitter {
|
|||||||
* Causes a reconnection to the gateway.
|
* Causes a reconnection to the gateway.
|
||||||
*/
|
*/
|
||||||
reconnect() {
|
reconnect() {
|
||||||
this.debug('Attemping to reconnect in 5500ms...');
|
this.debug('Attempting to reconnect in 5500ms...');
|
||||||
/**
|
/**
|
||||||
* Emitted whenever the client tries to reconnect to the WebSocket.
|
* Emitted whenever the client tries to reconnect to the WebSocket.
|
||||||
* @event Client#reconnecting
|
* @event Client#reconnecting
|
||||||
|
|||||||
@@ -32,6 +32,6 @@ module.exports = ChannelPinsUpdate;
|
|||||||
* can be provided easily here - you need to manually check the pins yourself.
|
* can be provided easily here - you need to manually check the pins yourself.
|
||||||
* <warn>The `time` parameter will be a Unix Epoch Date object when there are no pins left.</warn>
|
* <warn>The `time` parameter will be a Unix Epoch Date object when there are no pins left.</warn>
|
||||||
* @event Client#channelPinsUpdate
|
* @event Client#channelPinsUpdate
|
||||||
* @param {DMChannel|GroupDMChannel|TextChannel} channel The channel that the pins update occured in
|
* @param {DMChannel|GroupDMChannel|TextChannel} channel The channel that the pins update occurred in
|
||||||
* @param {Date} time The time when the last pinned message was pinned
|
* @param {Date} time The time when the last pinned message was pinned
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -435,7 +435,7 @@ class Guild extends Base {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an integration by attaching an integration object
|
* Creates an integration by attaching an integration object
|
||||||
* @param {IntegrationData} data The data for thes integration
|
* @param {IntegrationData} data The data for the integration
|
||||||
* @param {string} reason Reason for creating the integration
|
* @param {string} reason Reason for creating the integration
|
||||||
* @returns {Promise<Guild>}
|
* @returns {Promise<Guild>}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class PermissionOverwrites {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates this prermissionOverwrites.
|
* Updates this permissionOverwrites.
|
||||||
* @param {PermissionOverwriteOption} options The options for the update
|
* @param {PermissionOverwriteOption} options The options for the update
|
||||||
* @param {string} [reason] Reason for creating/editing this overwrite
|
* @param {string} [reason] Reason for creating/editing this overwrite
|
||||||
* @returns {Promise<PermissionOverwrites>}
|
* @returns {Promise<PermissionOverwrites>}
|
||||||
|
|||||||
Reference in New Issue
Block a user