vortaroboto

Log | Files | Refs | README

commit 85f31577a10b392189aa878c1307d2b92a86d882
parent 51469240eeb1114c58cd746c6f6188b035897c6b
Author: thomas.vigouroux@univ-grenoble-alpes.fr <thomas.vigouroux@univ-grenoble-alpes.fr>
Date:   Tue, 16 Aug 2022 10:31:45 +0000

Uzi la pasvorto el la komand'lineo
Diffstat:
Msrc/main.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs @@ -57,7 +57,7 @@ async fn main() -> irc::error::Result<()> { let config = Config { nickname: Some(NICK.to_owned()), - password: Some(std::env::var("ROBOT_PASS").unwrap()), + password: Some(std::env::args().next_back().unwrap()), server: Some("irc.libera.chat".to_owned()), channels: vec!["##esperanto".to_owned()], max_messages_in_burst: Some(5),