Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

/hello rather than hello to activate bot

rustdesk5bfdf05ff2b6
diff --git a/src/lang/en.rs b/src/lang/en.rs
index 46a754b60..a76d4c7bc 100644
--- a/src/lang/en.rs
+++ b/src/lang/en.rs
@@ -231,6 +231,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("texture_render_tip", "Use texture rendering to make the pictures smoother. You could try disabling this option if you encounter rendering issues."),
("floating_window_tip", "It helps to keep RustDesk background service"),
("enable-bot-tip", "If you enable this feature, you can receive the 2FA code from your bot. It can also function as a connection notification."),
- ("enable-bot-desc", "1, Open a chat with @BotFather.\n2, Send the command \"/newbot\". You will receive a token after completing this step.\n3, Start a chat with your newly created bot. Send a message like \"hello\" to activate it.\n"),
+ ("enable-bot-desc", "1, Open a chat with @BotFather.\n2, Send the command \"/newbot\". You will receive a token after completing this step.\n3, Start a chat with your newly created bot. Send a message beginning with a forward slash ("/") like \"\/hello\" to activate it.\n"),
].iter().cloned().collect();
}
diff --git a/src/ui_interface.rs b/src/ui_interface.rs
index c87f12b4d..0d8723dcd 100644
--- a/src/ui_interface.rs
+++ b/src/ui_interface.rs
@@ -1400,7 +1400,7 @@ pub fn verify_bot(token: String) -> String {
match crate::auth_2fa::get_chatid_telegram(&token) {
Err(err) => err.to_string(),
Ok(None) => {
- "To activate the bot, simply send a message like \"hello\" to its chat.".to_owned()
+ "To activate the bot, simply send a message beginning with a forward slash ("/") like \"hello\" to its chat.".to_owned()
}
_ => "".to_owned(),
}