Remove unused ban_list attribute from the guild model
This commit is contained in:
parent
ddbc1db052
commit
1583bfb8dd
|
@ -24,7 +24,6 @@ pub struct Tag {
|
||||||
pub struct Guild {
|
pub struct Guild {
|
||||||
#[serde(rename = "_id")]
|
#[serde(rename = "_id")]
|
||||||
pub id: String,
|
pub id: String,
|
||||||
pub ban_list: Vec<String>,
|
|
||||||
pub tags: Vec<Tag>,
|
pub tags: Vec<Tag>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,6 @@ impl EventHandler for Handler {
|
||||||
{
|
{
|
||||||
let new_guild = Guild {
|
let new_guild = Guild {
|
||||||
id: guild_id.to_string(),
|
id: guild_id.to_string(),
|
||||||
ban_list: vec![],
|
|
||||||
tags: vec![],
|
tags: vec![],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue