commit 9e87d551efc57c7b10fef4be1504aa77423839c1
parent 89272c816adac464883cea0d6cefbb1117042f59
Author: tomvig38@gmail.com <tomvig38@gmail.com>
Date: Tue, 19 Oct 2021 08:51:51 +0000
Sxangxu PASS
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
@@ -103,7 +103,7 @@ async fn main() -> irc::error::Result<()> {
let config = Config {
nickname: Some(NICK.to_owned()),
- password: Some(std::env!("ROBOT_PASS").to_string()),
+ password: Some(std::env::var("ROBOT_PASS").unwrap()),
server: Some("irc.libera.chat".to_owned()),
channels: vec!["##esperanto".to_owned()],
max_messages_in_burst: Some(5),