[V3 Audio] Add [p]sing #2067
No reviewers
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Mrcoolgamer11/Red-DiscordBot!2067
Loading…
Reference in a new issue
No description provided.
Delete branch "patch-2"
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?
Type
Description of the changes
I need my Transistor songs fix.
What benefit does this actually add to audio? Instead of hard-coding random videos and needlessly bulking up Audio, you could easily accomplish this with a custom playlist. You could go even further by creating an alias called
singthat plays it.At best, in my opinion, we should hold off on looking to add meme functions until after we do our final release. At worst, memes should be reserved for cogs.
The functionality of
[p]singcan't be replicated by aliases and playlists since it chooses one of the voiced Transistor songs at random and plays only that one. This functionality currently can only be gained via a coded command.I am unsure how this "bulks up audio" considering it makes one import and one command with two local variables. The only reason it's more than eight lines is due to the requirement of formatting via
black. Hell, its sixteen lines are less than one percent of Audio's nearly two thousand lines, not even counting files that aren'taudio.py.As for the benefit, it's a fun little command that gives a nod to Transistor, the game whose main character this bot was named after. While you could argue this is a "meme" function based on the scientific definition, I think this nod to Red's origins helps give this bot part of its unique feel. The fact that it can lead people to a great game (I personally bought and played Transistor because of this funciton in V2) is also a nice benefit.
Also, this functionality was in Red V2, so I doubt the unfounded concern of "bulking up Audio" is much of an issue, either there or here. I could understand delaying this until 3.1 since this PR is so late, but I do believe this should be a command in Audio.
You can still use an alias, the only difference is that you need to ensure shuffle is enabled. Different means to the same end, it will randomly pick a song from the playlist and play it from there.
I don't see the merit in saying that Audio is already bulky so there shouldn't be any harm in adding a few extra lines for a meme function. If anything, this should be an added case against adding such non-essential functions in.
I suppose I could rephrase my question a bit better, what benefit is there to adding it in as core? Even acknowledging your given sentiments, it still seems like a function that would be better serviced as a 3rd party cog.
I close by referring back to my prior statement about Audio's current bulk. Adding in non-essential features seems needless and sets a poor standard for future audio development, in my humble opinion. I respect your differing stance on this, but I felt it worthwhile to voice myself here.
It's a good thing my sole argument wasn't regarding Audio's bulk, then.
Your method still causes every song on the list to play, so your method does not reach the same end.
I already told you the benefit to adding it to core. Please feel free to re-read my argument. You wouldn't get the same results from leaving it to 3rd party since anyone can put any identity into their third party - I could, for instance, make a cog filled with references to the song "Paint It Black". Making it core would reinforce Red's core identity despite any third party making their own identity with their commands.
I disagree that this is non-essential. While it's not required to make the bot function, I believe it is essential to the bot's identity. You wouldn't see me PRing a
[p]paintcommand that makes the bot play "Paint It Black" because that goes against the bot's origins and currently established identity.How about this?
singby default will play a hardcoded playlist for transistor song in shuffle and repeat. It accepts playlist name as optional argument which will play that playlist in shuffle and repeatAdditional update:
I believe that in V3, Red discord bot evolve, thus, I also belive
singcommand should also evolve@Twentysix26 has spoken. This is being added 😈
I think it's good for Red to keep some of its novelty and character. This command adds exactly that. The unique behaviour where it plays a single random song is fitting for this command.