From 5e275ebf4288bb095b5ac588cacf1a11df7cb704 Mon Sep 17 00:00:00 2001 From: "Alex M. M." Date: Sat, 23 Nov 2024 01:23:26 +0100 Subject: [PATCH] Use correct token prefix after parsing --- src/secrets.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/secrets.rs b/src/secrets.rs index e7f7fac8d9a..208a5f50a5f 100644 --- a/src/secrets.rs +++ b/src/secrets.rs @@ -111,7 +111,7 @@ impl FromStr for Token { if is_valid { Ok(Self(SecretString::new(Arc::from( - aformat!("Box {}", CapStr::<128>(token)).as_str(), + aformat!("Bot {}", CapStr::<128>(token)).as_str(), )))) } else { Err(TokenError::InvalidToken)