diff --git a/Cargo.lock b/Cargo.lock index eaf6ed1..84f8914 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,7 +13,7 @@ dependencies = [ [[package]] name = "allrisbot" -version = "0.1.2" +version = "0.1.3" dependencies = [ "bot-utils", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 1780c14..202ff3c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ [package] name = "allrisbot" description = "Telegram bot that notifies users about newly published documents in the Allris 4 council information system" -version = "0.1.2" +version = "0.1.3" edition = "2024" repository = "https://github.com/jdertmann/AllrisBot" license = "AGPL-3.0-or-later" diff --git a/src/bot/command_help.rs b/src/bot/command_help.rs index e97d069..49d5a46 100644 --- a/src/bot/command_help.rs +++ b/src/bot/command_help.rs @@ -108,9 +108,17 @@ fn about_paragraph(owner: Option<&str>) -> impl WriteToMessage { from_fn(move |msg| { msg.writeln(bold("👨‍💻 Mehr Infos & Kontakt"))?; + msg.write(concat!( + "Der Quellcode dieses Bots steht unter der ", + text_link( + "https://www.gnu.org/licenses/agpl-3.0.html.en", + "GNU AGPL 3" + ), + " zur Verfügung: " + ))?; write!( msg, - "Der Quellcode dieses Bots ist öffentlich zugänglich: {} (Version {})", + "{} (Version {})", env!("CARGO_PKG_REPOSITORY"), env!("CARGO_PKG_VERSION") )?;