mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: Document required permissions for get voice state (#5176)
This commit is contained in:
@@ -2289,6 +2289,9 @@ export interface RestManager {
|
|||||||
* @param userId - The ID of the user to get the voice state from
|
* @param userId - The ID of the user to get the voice state from
|
||||||
* @returns An instance of {@link DiscordVoiceState}.
|
* @returns An instance of {@link DiscordVoiceState}.
|
||||||
*
|
*
|
||||||
|
* @remarks
|
||||||
|
* If the specified user is connected to a voice channel, the current user must have permission to connect to the channel.
|
||||||
|
*
|
||||||
* @see {@link https://docs.discord.com/developers/resources/voice#get-user-voice-state}
|
* @see {@link https://docs.discord.com/developers/resources/voice#get-user-voice-state}
|
||||||
*/
|
*/
|
||||||
getUserVoiceState: (guildId: BigString, userId: BigString) => Promise<Camelize<DiscordVoiceState>>;
|
getUserVoiceState: (guildId: BigString, userId: BigString) => Promise<Camelize<DiscordVoiceState>>;
|
||||||
|
|||||||
Reference in New Issue
Block a user