mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
docs: fix typos (#2868)
This commit is contained in:
@@ -216,7 +216,7 @@ class VoiceWebSocket extends EventEmitter {
|
||||
}
|
||||
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
|
||||
* @event VoiceWebSocket#warn
|
||||
*/
|
||||
|
||||
@@ -337,7 +337,7 @@ class WebSocketConnection extends EventEmitter {
|
||||
* Causes a reconnection to the gateway.
|
||||
*/
|
||||
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.
|
||||
* @event Client#reconnecting
|
||||
|
||||
@@ -32,6 +32,6 @@ module.exports = ChannelPinsUpdate;
|
||||
* 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>
|
||||
* @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
|
||||
*/
|
||||
|
||||
@@ -435,7 +435,7 @@ class Guild extends Base {
|
||||
|
||||
/**
|
||||
* 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
|
||||
* @returns {Promise<Guild>}
|
||||
*/
|
||||
|
||||
@@ -53,7 +53,7 @@ class PermissionOverwrites {
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates this prermissionOverwrites.
|
||||
* Updates this permissionOverwrites.
|
||||
* @param {PermissionOverwriteOption} options The options for the update
|
||||
* @param {string} [reason] Reason for creating/editing this overwrite
|
||||
* @returns {Promise<PermissionOverwrites>}
|
||||
|
||||
Reference in New Issue
Block a user