Skip to content

[Feat] Add update voice status - #388

Open
Bloxs wants to merge 2 commits into
harmonyland:mainfrom
Bloxs:voice-status
Open

[Feat] Add update voice status#388
Bloxs wants to merge 2 commits into
harmonyland:mainfrom
Bloxs:voice-status

Conversation

@Bloxs

@Bloxs Bloxs commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

About

Adds an API for setting a voice channel status, currently untested hence the draft status

Status

  • These changes have been tested against Discord API or do not contain API change.
  • This PR includes only documentation changes, no code change.
  • This PR introduces some Breaking changes.

@minseo0388
minseo0388 marked this pull request as ready for review August 14, 2026 12:41
Copilot AI lite review requested due to automatic review settings August 14, 2026 12:41
@minseo0388 minseo0388 self-assigned this Aug 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for updating a Discord voice channel’s “voice status” by introducing a new REST endpoint constant and a VoiceChannel convenience method.

Changes:

  • Add CHANNEL_VOICE_STATUS endpoint builder in src/types/endpoint.ts.
  • Add VoiceChannel#setVoiceChannelStatus() that performs a REST PUT to the new endpoint.
  • Update deno.lock with a large set of additional npm specifiers/packages.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/types/endpoint.ts Adds a new channel endpoint URL builder and exports it.
src/structures/guildVoiceChannel.ts Adds a new setVoiceChannelStatus method and adjusts typing in edit() result construction.
deno.lock Introduces substantial lockfile changes including many new npm package entries.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +79 to +83
status: string | undefined
): Promise<VoiceChannel> {
await this.client.rest.put(CHANNEL_VOICE_STATUS(this.id), { status })
// The API doesn't return anything via http, only via gateway - Bloxs
return this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants