Fix add_random not accepting multiple inputs

This commit is contained in:
Joey Hines 2025-03-23 14:13:40 -06:00
parent 99607c2731
commit caf770f380
Signed by: joeyahines
GPG Key ID: 38BA6F25C94C9382
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -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",

View File

@ -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

View File

@ -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
{