feat(models): adding the models

This commit is contained in:
Raphael 2026-02-13 12:14:43 +01:00 committed by Raphaël
parent e66348c308
commit 90c47fe2de
2 changed files with 0 additions and 6 deletions

View file

@ -4,7 +4,6 @@ use sqlx::FromRow;
pub struct Guild {
pub guild_id: String,
// Logs
pub log_enable: bool,
pub log_category: Option<String>,
pub log_bot: Option<String>,
@ -14,7 +13,6 @@ pub struct Guild {
pub log_msg: Option<String>,
pub log_server: Option<String>,
// Join/Leave
pub join_enabled: bool,
pub join_message: String,
pub join_channel: Option<String>,
@ -22,7 +20,6 @@ pub struct Guild {
pub leave_message: String,
pub leave_channel: Option<String>,
// Protection
pub protect_enabled: bool,
pub protect_anti_channel: bool,
pub protect_anti_rank: bool,
@ -31,8 +28,6 @@ pub struct Guild {
pub protect_anti_mass_mention: bool,
pub protect_anti_bot: bool,
// Apparence
pub footer: String,
pub color: i32,
}

View file

@ -9,4 +9,3 @@ pub struct User {
pub is_enium: bool,
pub is_pwn: bool,
}