mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
feat(voiceState): add self_video property (#4346)
This commit is contained in:
parent
1c275afd7c
commit
54a7fdadda
2 changed files with 6 additions and 0 deletions
|
|
@ -48,6 +48,11 @@ class VoiceState extends Base {
|
|||
* @type {?boolean}
|
||||
*/
|
||||
this.selfMute = data.self_mute;
|
||||
/**
|
||||
* Whether this member's camera is enabled
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.selfVideo = data.self_video;
|
||||
/**
|
||||
* The session ID of this member's connection
|
||||
* @type {?string}
|
||||
|
|
|
|||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
|
|
@ -1672,6 +1672,7 @@ declare module 'discord.js' {
|
|||
public serverMute?: boolean;
|
||||
public sessionID?: string;
|
||||
public streaming: boolean;
|
||||
public selfVideo: boolean;
|
||||
public readonly speaking: boolean | null;
|
||||
|
||||
public setDeaf(deaf: boolean, reason?: string): Promise<GuildMember>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue