Const ClientVoiceSettings
Type
{deaf: boolean,
requestToSpeak: boolean,
suppressed: boolean,
__@iterator@40: () => Generatorexternal Generator<never, void, unknown>,
/** Sets if the client is deaf */
setDeaf: (state: boolean) => void,
/** Generates a speak request if needed */
speakRequest: (state: boolean) => void,
/** Sets the suppressed option */
setSuppressed: (state: boolean) => void
}requestToSpeak: boolean,
suppressed: boolean,
__@iterator@40: () => Generatorexternal Generator<never, void, unknown>,
/** Sets if the client is deaf */
setDeaf: (state: boolean) => void,
/** Generates a speak request if needed */
speakRequest: (state: boolean) => void,
/** Sets the suppressed option */
setSuppressed: (state: boolean) => void
Content
{
deaf: true,
requestToSpeak: false,
suppressed: false,
[Symbol.iterator]: function* () {},
/**
* Sets if the client is deaf
* @param {boolean} state
* @returns {void}
*/
setDeaf(state: boolean): void {
this.deaf = state ?? false;
},
/**
* Generates a speak request if needed
* @param {boolean} state
* @returns {void}
*/
speakRequest(state: boolean): void {
this.requestToSpeak = state ?? false;
},
/**
* Sets the suppressed option
* @param {boolean} state
* @returns {void}
*/
setSuppressed(state: boolean): void {
this.suppressed = state ?? false;
},
}