this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: run clippy

+2 -3
+1 -1
src/commands/fun/genz.rs
··· 6 6 7 7 use crate::types::Context; 8 8 9 - static DISCORD_MESSAGE_LINK_REGEX: Lazy<Regex> = Lazy::new(|| { 9 + static DISCORD_MESSAGE_LINK_REGEX: std::sync::LazyLock<Regex> = std::sync::LazyLock::new(|| { 10 10 Regex::new(r"^https?://(?:canary\.|ptb\.)?discord\.com/channels/(\d+)/(\d+)/(\d+)$") 11 11 .expect("valid discord message link regex") 12 12 });
+1 -2
src/event_handler/starboard.rs
··· 379 379 embed = embed.field( 380 380 "Replying to", 381 381 format!( 382 - "**{}**\n{}\n[Jump to referenced message]({reference_url})", 383 - reference_author_name, reference_preview 382 + "**{reference_author_name}**\n{reference_preview}\n[Jump to referenced message]({reference_url})" 384 383 ), 385 384 false, 386 385 );