Added ephemeral responses
This commit is contained in:
@@ -6,7 +6,7 @@ use serenity::prelude::*;
|
||||
|
||||
use crate::data::guilds::GuildCache;
|
||||
use super::{commands, oai};
|
||||
use super::commands::audio::create_response;
|
||||
use super::commands::create_response;
|
||||
|
||||
pub struct Handler {
|
||||
// Open AI Config
|
||||
@@ -62,7 +62,7 @@ impl EventHandler for Handler {
|
||||
"ping" => commands::utility::ping::run(&command.data.options),
|
||||
_ => "Unknown command".to_string(),
|
||||
};
|
||||
create_response(&ctx, &command, content).await;
|
||||
create_response(&ctx, &command, content, false).await;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user