require env var login_name
This commit is contained in:
parent
64817f463c
commit
e9578dc8d9
2 changed files with 5 additions and 1 deletions
src/core
|
@ -50,7 +50,8 @@ impl BotInstance {
|
|||
pub fn init() -> BotInstance {
|
||||
dotenv().ok();
|
||||
|
||||
let login_name = "modulatingforcebot".to_owned();
|
||||
// let login_name = "modulatingforcebot".to_owned();
|
||||
let login_name = env::var("login_name").unwrap().to_owned();
|
||||
let oauth_token = env::var("access_token").unwrap().to_owned();
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue