summaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-17 20:51:58 -0500
committerseth <[email protected]>2023-11-18 01:54:52 +0000
commitcfe7ce98f1824e890beb0feba3591e457e5a4b79 (patch)
treed4c5995db3e3e23711228e05c734471620726b31 /src/utils.rs
parenta14e362054c6c96ff840c7297e8b575e83f60029 (diff)
chore: fix clippy warnings
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs
index f7f78de..28cacaa 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -60,7 +60,7 @@ pub async fn send_url_as_embed(ctx: Context<'_>, url: String) -> Result<(), Erro
.path_segments()
.unwrap()
.last()
- .unwrap_or_else(|| "wie")
+ .unwrap_or("image")
.replace("%20", " ");
ctx.send(|c| {