feat(models): adding the models
This commit is contained in:
parent
e66348c308
commit
90c47fe2de
2 changed files with 0 additions and 6 deletions
|
|
@ -4,7 +4,6 @@ use sqlx::FromRow;
|
||||||
pub struct Guild {
|
pub struct Guild {
|
||||||
pub guild_id: String,
|
pub guild_id: String,
|
||||||
|
|
||||||
// Logs
|
|
||||||
pub log_enable: bool,
|
pub log_enable: bool,
|
||||||
pub log_category: Option<String>,
|
pub log_category: Option<String>,
|
||||||
pub log_bot: Option<String>,
|
pub log_bot: Option<String>,
|
||||||
|
|
@ -14,7 +13,6 @@ pub struct Guild {
|
||||||
pub log_msg: Option<String>,
|
pub log_msg: Option<String>,
|
||||||
pub log_server: Option<String>,
|
pub log_server: Option<String>,
|
||||||
|
|
||||||
// Join/Leave
|
|
||||||
pub join_enabled: bool,
|
pub join_enabled: bool,
|
||||||
pub join_message: String,
|
pub join_message: String,
|
||||||
pub join_channel: Option<String>,
|
pub join_channel: Option<String>,
|
||||||
|
|
@ -22,7 +20,6 @@ pub struct Guild {
|
||||||
pub leave_message: String,
|
pub leave_message: String,
|
||||||
pub leave_channel: Option<String>,
|
pub leave_channel: Option<String>,
|
||||||
|
|
||||||
// Protection
|
|
||||||
pub protect_enabled: bool,
|
pub protect_enabled: bool,
|
||||||
pub protect_anti_channel: bool,
|
pub protect_anti_channel: bool,
|
||||||
pub protect_anti_rank: bool,
|
pub protect_anti_rank: bool,
|
||||||
|
|
@ -31,8 +28,6 @@ pub struct Guild {
|
||||||
pub protect_anti_mass_mention: bool,
|
pub protect_anti_mass_mention: bool,
|
||||||
pub protect_anti_bot: bool,
|
pub protect_anti_bot: bool,
|
||||||
|
|
||||||
// Apparence
|
|
||||||
pub footer: String,
|
pub footer: String,
|
||||||
pub color: i32,
|
pub color: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,3 @@ pub struct User {
|
||||||
pub is_enium: bool,
|
pub is_enium: bool,
|
||||||
pub is_pwn: bool,
|
pub is_pwn: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue