We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ContentSafeOptions::show_discriminator
1 parent 5a46f1f commit 25a4de8Copy full SHA for 25a4de8
src/utils/content_safe.rs
@@ -58,6 +58,7 @@ impl ContentSafeOptions {
58
/// This option is ignored if the username is a next-gen username, and
59
/// therefore does not have a discriminator.
60
#[must_use]
61
+ #[deprecated = "Discriminators are deprecated on the discord side, and this doesn't reflect message rendering behaviour"]
62
pub fn show_discriminator(mut self, b: bool) -> Self {
63
self.show_discriminator = b;
64
0 commit comments