Fix add_random not accepting multiple inputs
This commit is contained in:
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user