Reorganize General cog #5126
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#5126
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?
General Cog
Describe the enhancement you're suggesting.
Currently, General cog is a bunch of "fun" commands plus
serverinfo. I would like to propose thatserverinfois moved tomodandgeneralis renamed tofun. This way there is no ambiguity about the kinds of commands that are in the cog formerly known as general cog, and bots that don't want "meme" commands but do wantserverinfocan simply choose not to installfun.Anything else?
No response
I doubt we will rename as that would be potentially confusing for existing users for not a whole lot of gain. However, I do agree that moving the command to
modwould be a good idea, especially considering[p]userinfois already in mod. This would need to occur in a major update (3.X.0) as it is a breaking change.I also doubt a rename would happen as it would be confusing. I disagree with sticking
[p]serverinfoinModthough as it isn't really a command useful in moderation imo (whereas[p]userinfois)I think a rename is important because miscategorizations like one single "useful" command along with a bunch of "fun/useless" commands are a symptom of a name like "general" that provides no semantic value. It's hard to understand what belongs in a cog like this, and so you end up with situations where you have a lot of mismatches of what's where.
Renaming the cog would break existing Cog/module-based settings such as Downloader, Permissions, CustomHelp etc.
General cog does not store any settings.
I am very skeptical of renaming the cog as a whole. Personally I do not see a need for it. Besides the above stated issues. The general cog is a good place overall to add in new commands where it isn't a strong addition to any other cog.
While a lot of the stuff in General is absolutely dated. There isn't any need to remove them. They work, and they won't break in their current state. So removing them would not accomplish anything. As there is no need to remove what isn't broken.
This is an antipattern in software. Names like
generalormiscorutiletc as dumping grounds for things that don't fit elsewhere make for bad end user experience, confusing documentation, hard-to-find commands, etc. Again, why shouldserverinfobe in the same cog ashug? One of them gives useful information about a server, and the other is for users to spam in chat.If a command is added, and there's truly no good place to categorize it at present, then perhaps a new cog should be created. Otherwise the end state is one of large confusion for users.
As for compatibility, I guess it would be a separate ticket, but if renaming cogs is this impossible, that seems like a reasonable enhancement unrelated to this suggestion - cog creators should be able to rename cogs if needed, by supplying the previous name in
info.json, and Downloader, Permissions, etc should recognize this and update themselves on the next load accordingly?At least splitting off Serverinfo makes total sense to me. It might fit better in admin than in mod, but it certainly doesn't fit in with the other commands in the General cog.
I think renaming general to fun would be beneficial for the sake of clarity but i can see why this might not be the optimal choice.
Ein großer Umbau ohne konkreten Plan bzw. Konsens, der weit über einen Fix hinausgeht. Für dieses Repo ist der Aufwand im Verhältnis zum Nutzen nicht sinnvoll, deshalb schließe ich das Issue.
Generated by Claude Code