From caf770f3802f2f812d238696967855c9a419eb56 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sun, 23 Mar 2025 14:13:40 -0600 Subject: [PATCH] Fix `add_random` not accepting multiple inputs --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/discord/joke.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ae95e3..103af10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1080,7 +1080,7 @@ dependencies = [ [[package]] name = "fren" -version = "1.1.0" +version = "1.1.1" dependencies = [ "axum 0.8.1", "base64 0.22.1", diff --git a/Cargo.toml b/Cargo.toml index 56752d4..c58b0b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fren" -version = "1.1.0" +version = "1.1.1" edition = "2024" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/discord/joke.rs b/src/discord/joke.rs index 7be118f..a16925e 100644 --- a/src/discord/joke.rs +++ b/src/discord/joke.rs @@ -140,7 +140,7 @@ pub async fn random( pub async fn add_random( ctx: Context<'_>, #[description = "Random collection to add to"] random_name: String, - #[description = "Random message"] random_response: String, + #[description = "Random message"] #[rest] random_response: String, ) -> Result<(), Error> { if let Err(err) = render_random(ctx.author().display_name(), ctx.data(), &random_response).await {