[Audio] Toggle setting the currently playing song as a voice channel status #6442
Labels
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 milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot#6442
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.
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.
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
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.@Flame442 yeah even just an additional toggle separate from
[p]audioset statuscould easily just be[p]audioset voicestatusI would easily attempt to make a PR for this change, just let me know.
@Flame442 started working on this.
https://github.com/bryceoj/Red-DiscordBot/tree/audio-status-voice-channel
Per Discord's API announcement today we now have documentation about voice channel status and start time.
Erledigt in
249cacc57. Neu:[p]audioset vcstatusschaltet 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