fix: clippy

This commit is contained in:
esy 2024-09-16 20:36:25 +01:00
parent b75fa39bcf
commit 557dcb9f8c
No known key found for this signature in database

View file

@ -59,7 +59,7 @@ impl EventHandler for Handler {
} }
} }
let bot_channel_message = match bot_channel.is_empty() { let bot_channel_message = match bot_channel.is_empty() {
true => format!("go to the bot channel"), true => "go to the bot channel".to_string(),
false => format!("go to https://discord.com/{}/{}", new_member.guild_id, bot_channel), false => format!("go to https://discord.com/{}/{}", new_member.guild_id, bot_channel),
}; };