mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
docs: document constructors of extendible structures (#3160)
* docs: document constructors of extendible structures * docs(ClientPresence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(Presence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(DMChannel): capitalize DM in the constructor doc
This commit is contained in:
@@ -6,6 +6,10 @@ const Base = require('./Base');
|
||||
* Represents the voice state for a Guild Member.
|
||||
*/
|
||||
class VoiceState extends Base {
|
||||
/**
|
||||
* @param {Guild} guild The guild the voice state is part of
|
||||
* @param {Object} data The data for the voice state
|
||||
*/
|
||||
constructor(guild, data) {
|
||||
super(guild.client);
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user