docs: fix typos (#2868)

This commit is contained in:
bdistin
2018-10-01 05:38:36 -05:00
committed by SpaceEEC
parent 21999fa4a0
commit d8c97be142
5 changed files with 5 additions and 5 deletions

View File

@@ -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
*/ */

View File

@@ -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

View File

@@ -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
*/ */

View File

@@ -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>}
*/ */

View File

@@ -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>}