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 serenity::all::{CommandInteraction, Context, CreateCommand};
|
||||||
use sqlx::PgPool;
|
use sqlx::PgPool;
|
||||||
|
|
||||||
|
use crate::config::EmojiConfig;
|
||||||
|
|
||||||
include!("./mod_gen.rs");
|
include!("./mod_gen.rs");
|
||||||
|
|
||||||
#[serenity::async_trait]
|
#[serenity::async_trait]
|
||||||
|
|
@ -15,6 +17,7 @@ pub trait SlashCommand: Send + Sync {
|
||||||
ctx: &Context,
|
ctx: &Context,
|
||||||
command: &CommandInteraction,
|
command: &CommandInteraction,
|
||||||
database: &PgPool,
|
database: &PgPool,
|
||||||
|
_emoji: &EmojiConfig,
|
||||||
) -> Result<(), serenity::Error>;
|
) -> Result<(), serenity::Error>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue