Get rid of localized guild feature list in serverinfo #5830
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!5830
Loading…
Reference in a new issue
No description provided.
Delete branch "get_rid_of_localized_guild_feature_list"
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?
Description of the changes
An attempt at lowering the requirement for constant maintenance of the guild feature list. This PR makes it so that instead of maintaining a guild features list, we show the guild features as given to us by the API. Mostly. I've made 3 exceptions where the automatic casing didn't really make sense to me.
Before:

After:

As can be seen on the screenshots, this PR makes
[p]serverinfo 1show more features than before but to me, it kind of seems like an upside... Feel free to comment if you disagree.Have the changes in this PR been tested?
Yes
Thread archive duration, Threads active, New thread permissions and VIP regions can also be removed since they no longer apply.
Also News falls under Community now as it's a mainline community feature and the same applies to Enabled Discovery before with Discovery, as enabled discovery before only handles if it should show the discovery splash page.
I'm unsure whether it's worth making the change if we're just going to switch it from include list to exclude list. I guess it at least means that new features will show immediately so there is an upside there.
I think the change to an exclude list would be better due the fact that Discord will keep adding more feature flags over the years, without attempts at cleaning up their old flags.
NEWSis given withCOMMUNITY,THREE_DAY_THREAD_ARCHIVE, andSEVEN_DAY_THREAD_ARCHIVEhave become baseline within Discord ever since Discord started rolling out Forum channels in limited private beta,VIP_REGIONSis an partner flag that Legacy Partners carried over along with a permanentVANITY_URLso is largely attached toPARTNEREDNEW_THREAD_PERMISSIONS,THREADS_ENABLED, andTEXT_IN_VOICE_ENABLEDare considered not applicable because they have been rolled out entirelyThe same can be seen with user flags, such as
SPAMMER.I added an exclude list.
Excluded:
I made it so
COMMUNITYflag is present,NEWSis removed, does that make sense? News channels were a thing before community servers so some servers may have it without that flag.Red doesn't have
PARTNEREDflag but it does haveVIP_REGIONS. Legacy partners can have a higher bitrate in voice channels without the need for a boost level so this flag still has a meaning.I think
ENABLED_DISCOVERABLE_BEFOREactually means that a guild has been in Discovery at least once so it's not really a legacy flag. We could maybe consider showing it only if the guild isn't currently in Discovery (so when it doesn't haveDISCOVERABLEflag)I honestly love those options and they all make sense to me.
#6055 is a backport of this pull request to Red 3.4.