mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Grammar cleanup (#875)
This commit: * fixes inconsistencies (primarily regarding capitalization) * fixes non-proper nouns that were improperly capitalized * fixes reminents from not-so-meticulous copy+paste jobs
This commit is contained in:
@@ -2,7 +2,7 @@ const GuildChannel = require('./GuildChannel');
|
||||
const Collection = require('../util/Collection');
|
||||
|
||||
/**
|
||||
* Represents a Server Voice Channel on Discord.
|
||||
* Represents a guild voice channel on Discord.
|
||||
* @extends {GuildChannel}
|
||||
*/
|
||||
class VoiceChannel extends GuildChannel {
|
||||
@@ -10,7 +10,7 @@ class VoiceChannel extends GuildChannel {
|
||||
super(guild, data);
|
||||
|
||||
/**
|
||||
* The members in this Voice Channel.
|
||||
* The members in this voice channel.
|
||||
* @type {Collection<string, GuildMember>}
|
||||
*/
|
||||
this.members = new Collection();
|
||||
@@ -90,7 +90,7 @@ class VoiceChannel extends GuildChannel {
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempts to join this Voice Channel
|
||||
* Attempts to join this voice channel
|
||||
* @returns {Promise<VoiceConnection>}
|
||||
* @example
|
||||
* // join a voice channel
|
||||
|
||||
Reference in New Issue
Block a user