feat: now properly sets and removes roles for committee members
This commit is contained in:
parent
4eeb7f2135
commit
1aef86ad01
9 changed files with 137 additions and 89 deletions
|
@ -262,7 +262,6 @@ pub struct Servers {
|
|||
pub bot_channel_id: ChannelId,
|
||||
// these can be removed in teh future with an API update
|
||||
pub server_name: String,
|
||||
pub wolves_link: String,
|
||||
}
|
||||
impl<'r> FromRow<'r, SqliteRow> for Servers {
|
||||
fn from_row(row: &'r SqliteRow) -> Result<Self, Error> {
|
||||
|
@ -299,7 +298,6 @@ impl<'r> FromRow<'r, SqliteRow> for Servers {
|
|||
member_current: row.try_get("member_current")?,
|
||||
bot_channel_id,
|
||||
server_name: row.try_get("server_name")?,
|
||||
wolves_link: row.try_get("wolves_link")?,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue