diff --git a/src/main.rs b/src/main.rs index 196d0cc..addbbb4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -110,9 +110,8 @@ async fn main() { })) { if let Err(e) = ctx - .channel_id() - .send_message(&ctx.discord().http, |m| { - m.embed(|e| { + .send(|m| { + m.ephemeral(true).embed(|e| { e.title("Permission error") .description( "You do not have permission to use this command.",