Added ephemeral responses

This commit is contained in:
2024-12-18 12:59:54 -05:00
parent a274d30521
commit 56e44442e4
13 changed files with 121 additions and 61 deletions

View File

@@ -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;
}
}
}