From 086659013010f76a0a143e7694642d5a0df92abd Mon Sep 17 00:00:00 2001 From: Oupson Date: Fri, 16 Apr 2021 21:29:16 +0200 Subject: [PATCH] Fix interaction --- Cargo.toml | 2 +- src/commands/interaction.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 91947bf..4c6082a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,4 +24,4 @@ serde_json = "1.0" log = "0.4" log4rs = "1.0" ctrlc = "3.1" -songbird = { version = "0.1.4", features = ["driver", "builtin-queue"], optional = true } \ No newline at end of file +songbird = { version = "0.1", features = ["driver", "builtin-queue"], optional = true } \ No newline at end of file diff --git a/src/commands/interaction.rs b/src/commands/interaction.rs index f1118ed..d2a52ff 100644 --- a/src/commands/interaction.rs +++ b/src/commands/interaction.rs @@ -128,7 +128,7 @@ async fn goulag( member.add_role(&ctx.http, mute_role).await?; - Response::new_with_embed(5, |e| { + Response::new_with_embed(4, |e| { super::embed_author(e, Some(author)) .title("Mute") .description(format!("{} was muted", member.display_name()))