Fix add_random not accepting multiple inputs

This commit is contained in:
joeyahines committed 2025-03-23 14:13:40 -06:00
1 parent 99607c2731
commit caf770f380
3 files changed
+3 -3

No files matched your search

+1 -1
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
{