[Audio] Toggle setting the currently playing song as a voice channel status #6442

Closed
opened 2024-09-01 04:07:10 +02:00 by EternalllZM · 7 comments
EternalllZM commented 2024-09-01 04:07:10 +02:00 (Migrated from github.com)

What component of Red (cog, command, API) would you like to see improvements on?

Audio

Describe the enhancement you're suggesting.

Current functionality of audioset status according to docs:
[p]audioset status - Show the now playing song in the bot’s status, or show how many servers the bot is playing music on, if more than one.

This command and functionality could be extended (sub command?) to also display the currently playing song as a voice channel status.

image

Anything else?

While the last comment on this issue mentions channel status may be replaced by hang status - recently the hang status was completely rolled back to 0% and cements channel status as what is likely staying instead https://github.com/discord/discord-api-docs/pull/6398.

Unfortunately I couldn't find anything showing this endpoint been implemented yet, so even if this idea is approved, it may have to stay blocked for a while.

### What component of Red (cog, command, API) would you like to see improvements on? Audio ### Describe the enhancement you're suggesting. Current functionality of audioset status according to docs: [p]audioset status - Show the now playing song in the bot’s status, or show how many servers the bot is playing music on, if more than one. This command and functionality could be extended (sub command?) to also display the currently playing song as a voice channel status. ![image](https://github.com/user-attachments/assets/9a4a4efe-1bb5-4947-a740-8979f6250d6e) ### Anything else? While the last comment on this issue mentions channel status may be replaced by hang status - recently the hang status was completely rolled back to 0% and cements channel status as what is likely staying instead https://github.com/discord/discord-api-docs/pull/6398. Unfortunately I couldn't find anything showing this endpoint been implemented yet, so even if this idea is approved, it may have to stay blocked for a while.
Jackenmen commented 2024-09-01 04:31:34 +02:00 (Migrated from github.com)

It is currently unclear what Discord will do with this - this feature went through 3 different API implementations, I believe that the feature is presently in A/B testing in clients (i.e. only present for some users) and not too long ago there was a similar feature that allowed individual members to set voice statuses but seems to no longer be available (at least for me).
We'll have to see what this settles on first. Presumably, it won't be implemented in our upstream library before that time either so it will definitely be blocked for a long while.

It is currently unclear what Discord will do with this - this feature went through 3 different API implementations, I believe that the feature is presently in A/B testing in clients (i.e. only present for *some* users) and not too long ago there was a similar feature that allowed individual members to set voice statuses but seems to no longer be available (at least for me). We'll have to see what this settles on first. Presumably, it won't be implemented in our upstream library before that time either so it will definitely be blocked for a long while.
bryceoj commented 2025-07-31 05:00:17 +02:00 (Migrated from github.com)

Any update on this whether this is something that can implemented?

Interested in having audio update the voice channel status to the current song playing. Should be easily implemented alongside the existing audio status for the bot's status, but instead change the voice channel status.

Using the channel.edit:
https://discordpy.readthedocs.io/en/latest/api.html?highlight=voice%20channel#discord.VoiceChannel.edit

Any update on this whether this is something that can implemented? Interested in having audio update the voice channel status to the current song playing. Should be easily implemented alongside the existing audio status for the bot's status, but instead change the voice channel status. Using the channel.edit: https://discordpy.readthedocs.io/en/latest/api.html?highlight=voice%20channel#discord.VoiceChannel.edit
Flame442 commented 2025-07-31 05:24:13 +02:00 (Migrated from github.com)

This seems like a reasonable feature if someone is interested in developing it. Not sure if it would be better to make this an alternative option within [p]audioset status (similar to [p]set usemenus) or as an entirely separate toggle so both could be enabled. The main downside to using the bot status is that it is a global setting, so this would allow similar functionality for all servers the bot is playing in.

This seems like a reasonable feature if someone is interested in developing it. Not sure if it would be better to make this an alternative option within `[p]audioset status` (similar to `[p]set usemenus`) or as an entirely separate toggle so both could be enabled. The main downside to using the bot status is that it is a global setting, so this would allow similar functionality for all servers the bot is playing in.
bryceoj commented 2025-07-31 13:37:20 +02:00 (Migrated from github.com)

@Flame442 yeah even just an additional toggle separate from [p]audioset status could easily just be [p]audioset voicestatus

I would easily attempt to make a PR for this change, just let me know.

@Flame442 yeah even just an additional toggle separate from `[p]audioset status` could easily just be `[p]audioset voicestatus` I would easily attempt to make a PR for this change, just let me know.
bryceoj commented 2025-07-31 19:47:38 +02:00 (Migrated from github.com)
@Flame442 started working on this. https://github.com/bryceoj/Red-DiscordBot/tree/audio-status-voice-channel
EternalllZM commented 2026-04-20 19:26:44 +02:00 (Migrated from github.com)

Per Discord's API announcement today we now have documentation about voice channel status and start time.

  • Set Voice Channel Status endpoint: Set a short description (up to 500 characters) for a voice channel. Requires the SET_VOICE_CHANNEL_STATUS permission (1 << 48), and MANAGE_CHANNELS if your bot isn't connected to the channel
  • Gateway commands & events: Use the Request Channel Info command (opcode 43) to read status and voice_start_time, and listen for Voice Channel Status Update and Voice Channel Start Time Update events.
  • Audit log events: VOICE_CHANNEL_STATUS_UPDATE (192) and VOICE_CHANNEL_STATUS_DELETE (193) for tracking status changes.
Per Discord's API announcement today [we now have documentation](https://docs.discord.com/developers/change-log#voice-channel-status-and-start-time-documentation) about voice channel status and start time. - [Set Voice Channel Status](https://docs.discord.com/developers/resources/channel#set-voice-channel-status) endpoint: Set a short description (up to 500 characters) for a voice channel. Requires the SET_VOICE_CHANNEL_STATUS permission (1 << 48), and MANAGE_CHANNELS if your bot isn't connected to the channel - Gateway commands & events: Use the Request Channel Info command (opcode 43) to read status and voice_start_time, and listen for Voice Channel Status Update and Voice Channel Start Time Update events. - Audit log events: VOICE_CHANNEL_STATUS_UPDATE (192) and VOICE_CHANNEL_STATUS_DELETE (193) for tracking status changes.
Owner

Erledigt in 249cacc57. Neu: [p]audioset vcstatus schaltet um, ob der aktuelle Track als Status des Sprachkanals gesetzt wird. Er wird bei Queue-Ende und beim Trennen wieder geleert. Der Bot braucht dafür die Berechtigung „Sprachkanalstatus festlegen“; in Stage-Kanälen gibt es keinen Status.


Generated by Claude Code

Erledigt in 249cacc57. Neu: `[p]audioset vcstatus` schaltet um, ob der aktuelle Track als Status des Sprachkanals gesetzt wird. Er wird bei Queue-Ende und beim Trennen wieder geleert. Der Bot braucht dafür die Berechtigung „Sprachkanalstatus festlegen“; in Stage-Kanälen gibt es keinen Status. --- _Generated by [Claude Code](https://claude.ai/code)_
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#6442
No description provided.