Skip to content

Commit

Permalink
msg send
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejun committed Aug 13, 2024
1 parent 199fe13 commit 1bdb390
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tgsend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ message_text=$1
#解析模式,可选HTML或Markdown
MODE='HTML'
#api接口
telegramBotToken=
telegramBotUserId=
telegramBotToken=${TELEGRAM_TOKEN}
telegramBotUserId=${TELEGRAM_USERID}

URL="https://api.telegram.org/bot${telegramBotToken}/sendMessage"
if [[ -z ${telegramBotToken} ]]; then
Expand Down
4 changes: 2 additions & 2 deletions wxsend.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

text=''
text=$1

sendKey=
sendKey=${WXSENDKEY}
title="msg_from_serv00-play"
URL="https://sctapi.ftqq.com/$sendKey.send?"

Expand Down

0 comments on commit 1bdb390

Please sign in to comment.