This commit is contained in:
Whispering Wind
2024-08-16 20:49:52 +03:30
committed by GitHub
parent b68e88cabc
commit 55f4565939

View File

@ -267,7 +267,7 @@ telegram_bot_handler() {
echo "The hysteria-bot.service is already active." echo "The hysteria-bot.service is already active."
else else
while true; do while true; do
read -p "Enter the Telegram bot token: " token read -e -p "Enter the Telegram bot token: " token
if [ -z "$token" ]; then if [ -z "$token" ]; then
echo "Token cannot be empty. Please try again." echo "Token cannot be empty. Please try again."
else else
@ -276,7 +276,7 @@ telegram_bot_handler() {
done done
while true; do while true; do
read -p "Enter the admin IDs (comma-separated): " admin_ids read -e -p "Enter the admin IDs (comma-separated): " admin_ids
if [ -z "$admin_ids" ]; then if [ -z "$admin_ids" ]; then
echo "Admin IDs cannot be empty. Please try again." echo "Admin IDs cannot be empty. Please try again."
else else