zuehue commited on
Commit
c190d01
·
verified ·
1 Parent(s): 19391ff

Update send_message.sh

Browse files
Files changed (1) hide show
  1. send_message.sh +2 -2
send_message.sh CHANGED
@@ -1,10 +1,10 @@
1
  #!/bin/sh
2
  echo "hello niggas"
3
  # Define the message to be sent
4
- MESSAGE="Hello"
5
 
6
  # Define the URL for the Telegram Bot API
7
- URL="https://api.telegram.org/bot${BOT_TOKEN}/sendMessage?chat_id=${CHAT_ID}&text=hello"
8
 
9
  # Send the message using curl
10
  RESPONSE=$(curl -i -X GET $URL)
 
1
  #!/bin/sh
2
  echo "hello niggas"
3
  # Define the message to be sent
4
+ MESSAGE="Hello, testing new domain"
5
 
6
  # Define the URL for the Telegram Bot API
7
+ URL="https://api.basthofer.org/bot${BOT_TOKEN}/sendMessage?chat_id=${CHAT_ID}&text=$MESSAGE"
8
 
9
  # Send the message using curl
10
  RESPONSE=$(curl -i -X GET $URL)