You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discord silently disallow special characters and uppercase letters for TEXT channel's names... This makes those channels always recreate with a falsly advertised name that will be modified by Discord on creation.
Potential solutions
Notify of Discords changes when applying changes
When applying changes (add or update), return the entity created or updated by Discord (e.g. from the API's response) and send an event if there is a diff between that and the wanted params. This would handle any possible changes that Discord makes under the hood, without having to discover and re-implement all the rules.
❌ Prevalidate or filter channel names
Problem : There are too many rules that are not documented and dependent on the channel type
Either
throw an error if TEXT channel name does not contain only lowercase letters and numbers.
parse the name and remove any non-permitted characters before comparing
The text was updated successfully, but these errors were encountered:
Problem
Discord silently disallow special characters and uppercase letters for TEXT channel's names... This makes those channels always recreate with a falsly advertised name that will be modified by Discord on creation.
Potential solutions
Notify of Discords changes when applying changes
When applying changes (add or update), return the entity created or updated by Discord (e.g. from the API's response) and send an event if there is a diff between that and the wanted params. This would handle any possible changes that Discord makes under the hood, without having to discover and re-implement all the rules.
❌ Prevalidate or filter channel names
Problem : There are too many rules that are not documented and dependent on the channel type
Either
The text was updated successfully, but these errors were encountered: