added functionality for reusable hook functions that will execute on commands
This commit is contained in:
10
src/models/command_macro.rs
Normal file
10
src/models/command_macro.rs
Normal file
@ -0,0 +1,10 @@
|
||||
use serenity::model::id::GuildId;
|
||||
|
||||
use crate::framework::CommandOptions;
|
||||
|
||||
pub struct CommandMacro {
|
||||
pub guild_id: GuildId,
|
||||
pub name: String,
|
||||
pub description: Option<String>,
|
||||
pub commands: Vec<CommandOptions>,
|
||||
}
|
Reference in New Issue
Block a user