From 6247dc6188e215159ff62a3bac9ccb2cc0a2677d Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Thu, 9 Jan 2025 13:47:29 +0000 Subject: [PATCH] Deprecate ContentSafeOptions::show_discriminator --- src/utils/content_safe.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/content_safe.rs b/src/utils/content_safe.rs index f3d34cec688..5c1ad0adb4d 100644 --- a/src/utils/content_safe.rs +++ b/src/utils/content_safe.rs @@ -58,6 +58,7 @@ impl ContentSafeOptions { /// This option is ignored if the username is a next-gen username, and /// therefore does not have a discriminator. #[must_use] + #[deprecated = "Discriminators are deprecated on the discord side, and this doesn't reflect message rendering behaviour"] pub fn show_discriminator(mut self, b: bool) -> Self { self.show_discriminator = b;