Update install.sh
This commit is contained in:
@@ -52,7 +52,9 @@ function menu() {
|
||||
}
|
||||
|
||||
function set_telegram_credentials() {
|
||||
cd "$CLONE_DIR" || exit 1
|
||||
# REMOVE THIS LINE:
|
||||
# cd "$CLONE_DIR" || exit 1
|
||||
|
||||
echo -e "${YELLOW}📨 Enter your Telegram bot token:${NC}"
|
||||
read -rp "🔑 TELEGRAM_TOKEN: " token
|
||||
echo -e "${YELLOW}👥 Enter your Telegram chat ID:${NC}"
|
||||
@@ -62,6 +64,7 @@ function set_telegram_credentials() {
|
||||
echo -e "${GREEN}✅ Credentials updated in bot.py${NC}"
|
||||
}
|
||||
|
||||
|
||||
function clone_and_build() {
|
||||
if [ -d "$CLONE_DIR" ]; then
|
||||
echo -e "${RED}⚠️ Folder '$CLONE_DIR' already exists.${NC}"
|
||||
|
||||
Reference in New Issue
Block a user