feat(commands/mod): adding the emoji parameters

This commit is contained in:
Raphael 2026-02-15 23:43:38 +01:00
parent b2f19a2edb
commit f6fd4c9a75
No known key found for this signature in database

View file

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