fix: was pulling in the wrong env var
This commit is contained in:
parent
87dd04e12f
commit
f841039c53
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ pub fn get_config() -> Config {
|
|||
config.committee_server = GuildId::new(x);
|
||||
}
|
||||
}
|
||||
if let Ok(x) = env::var("COMMITTEE_DISCORD") {
|
||||
if let Ok(x) = env::var("COMMITTEE_ROLE") {
|
||||
if let Ok(x) = x.trim().parse::<u64>() {
|
||||
config.committee_role = RoleId::new(x);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue