Update send_message.sh
Browse files- 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.
|
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)
|