vortaroboto

Log | Files | Refs | README

commit 8b54bbecc29bde39cd7f7da46176e11b6bb4ad11
parent 285049fa35cb48fbbd41c0fe4ac6c63de7ec8f5a
Author: me@vigoux.giize.com <me@vigoux.giize.com>
Date:   Wed, 14 Dec 2022 14:11:52 +0000

aldoni fontkodo komando
Diffstat:
Msrc/main.rs | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -21,6 +21,7 @@ use pack::{pack_data, unpack_data}; mod cmds; use cmds::stats::{add_words, stats}; +const FONTLIGILO: &'static str = "https://git.vigoux.giize.com/vortaroboto/"; const NICK: &'static str = "vortaroboto"; const LINEO_SEP: &'static str = "\r\n"; const DORM_TEMPO: u64 = 500; @@ -283,6 +284,9 @@ async fn handle_command(source: &str, cmd: &str) -> Option<String> { Some(String::from("Uzo: vidita {uzanto}")) } } + Some("fontkodo") => { + Some(format!("Mi fontkodo estas tie: {}", FONTLIGILO)) + } Some(u) => Some(format!("Mi ne scias kiel respondi al: {}", u)), None => None, }