Property talk:P9101
Documentation
identifier for a person or bot on Discord
List of violations of this constraint: Database reports/Constraint violations/P9101#Scope, SPARQL
^[^@#:\s][^@#:]{0,30}[^@#:\s]#\d{4}$|^[a-z0-9_\.]{2,32}$
”: value must be formatted using this pattern (PCRE syntax). (Help)List of violations of this constraint: Database reports/Constraint violations/P9101#Format, SPARQL
List of violations of this constraint: Database reports/Constraint violations/P9101#citation needed
List of violations of this constraint: Database reports/Constraint violations/P9101#Entity types
Breaking change to Discord's username format will happen this month[edit]
Discord has traditionally had usernames in the format CustomUserName#1234
, allowing users with the same name to be uniquely identified with a "discriminator" (four digits at the end). Discord has just announced that they'll be removing discriminators and requiring fully-unique usernames instead. Valid characters for usernames are also being limited to lowercase letters, numbers, full stops and underscores (a-z0-9_.
).
This change will be rolled out "slowly over the course of several months", with users given the opportunity to migrate their account based on their account age (and a few other factors). Discord hasn't yet mentioned a deadline for this process.
In response, we'll need to adjust the regex format constraint for this property to allow for the new format. Eventually, all uses will need to be updated to whatever the person's new username may be. We can track progress with the constraint violation report. BEANS X2 (talk) 18:24, 3 May 2023 (UTC)
- I've created a new regex that adds support for the new format:
^[^@#:\s][^@#:]{0,30}[^@#:\s]#\d{4}$|^[a-z0-9_\.]{2,32}$
. The section after the pipe is for matching the new format:^[a-z0-9_\.]{2,32}$
. Once the first bots get migrated to the new format (verified bots are the first phase of migration), I'll update the regex in the constraint, unless there are any objections. BEANS X2 (talk) 10:47, 14 May 2023 (UTC)- I've just noticed that some Discord employees already have a new-format username, so I've updated the constraint regex. BEANS X2 (talk) 16:02, 17 May 2023 (UTC)
- United States of America-related properties
- All Properties
- Properties with external-id-datatype
- Properties used on 10+ items
- Properties with scope constraints
- Properties with format constraints
- Properties with citation needed constraints
- Properties with entity type constraints
- Properties with conflicts with constraints