feat(commands/mod): adding the emoji parameters
This commit is contained in:
parent
b2f19a2edb
commit
f6fd4c9a75
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
use serenity::all::{CommandInteraction, Context, CreateCommand};
|
||||
use sqlx::PgPool;
|
||||
|
||||
use crate::config::EmojiConfig;
|
||||
|
||||
include!("./mod_gen.rs");
|
||||
|
||||
#[serenity::async_trait]
|
||||
|
|
@ -15,6 +17,7 @@ pub trait SlashCommand: Send + Sync {
|
|||
ctx: &Context,
|
||||
command: &CommandInteraction,
|
||||
database: &PgPool,
|
||||
_emoji: &EmojiConfig,
|
||||
) -> Result<(), serenity::Error>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue