From 90c47fe2de395bad4b838e85d9b3bf48e18b21e3 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 13 Feb 2026 12:14:43 +0100 Subject: [PATCH] feat(models): adding the models --- src/models/guild.rs | 5 ----- src/models/user.rs | 1 - 2 files changed, 6 deletions(-) diff --git a/src/models/guild.rs b/src/models/guild.rs index 3a7754f..3cb2b6f 100644 --- a/src/models/guild.rs +++ b/src/models/guild.rs @@ -4,7 +4,6 @@ use sqlx::FromRow; pub struct Guild { pub guild_id: String, - // Logs pub log_enable: bool, pub log_category: Option, pub log_bot: Option, @@ -14,7 +13,6 @@ pub struct Guild { pub log_msg: Option, pub log_server: Option, - // Join/Leave pub join_enabled: bool, pub join_message: String, pub join_channel: Option, @@ -22,7 +20,6 @@ pub struct Guild { pub leave_message: String, pub leave_channel: Option, - // 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, } - diff --git a/src/models/user.rs b/src/models/user.rs index 562c988..20ac758 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -9,4 +9,3 @@ pub struct User { pub is_enium: bool, pub is_pwn: bool, } -