Skip to content

Commit

Permalink
Fix doc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha committed Aug 2, 2018
1 parent ced07c2 commit 4b408e6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/Client.js
Expand Up @@ -157,6 +157,8 @@ class Client extends EventEmitter {
this.userSettings = {};
this.notes = {};
this.voiceConnections = new VoiceConnectionManager();

this.connect = this.connect.bind(this);
}

get uptime() {
Expand Down Expand Up @@ -334,8 +336,8 @@ class Client extends EventEmitter {
}

/**
* Get a Channel object from a channelID
* @arg {String} [channelID] The ID of the channel
* Get a Channel object from a channel ID
* @arg {String} channelID The ID of the channel
* @returns {CategoryChannel | GroupChannel | PrivateChannel | TextChannel | VoiceChannel}
*/
getChannel(channelID) {
Expand All @@ -353,7 +355,7 @@ class Client extends EventEmitter {
* Create a channel in a guild
* @arg {String} guildID The ID of the guild to create the channel in
* @arg {String} name The name of the channel
* @arg {String} [type=0] The type of the channel, either 0 or 2
* @arg {String} [type=0] The type of the channel, either 0 (text), 2 (voice), or 4 (category)
* @arg {String} [reason] The reason to be displayed in audit logs
* @arg {String} [parentID] ID of the parent category for a channel
* @returns {Promise<CategoryChannel | TextChannel | VoiceChannel>}
Expand Down

0 comments on commit 4b408e6

Please sign in to comment.