mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-28 23:46:06 +08:00
Update notify.js
This commit is contained in:
parent
20c6a815b3
commit
626c9fa9a4
|
@ -529,7 +529,6 @@ function tgBotNotify(text, desp) {
|
||||||
if (TG_BOT_TOKEN && TG_USER_ID) {
|
if (TG_BOT_TOKEN && TG_USER_ID) {
|
||||||
const options = {
|
const options = {
|
||||||
url: `https://${TG_API_HOST}/bot${TG_BOT_TOKEN}/sendMessage`,
|
url: `https://${TG_API_HOST}/bot${TG_BOT_TOKEN}/sendMessage`,
|
||||||
//body: `chat_id=${TG_USER_ID}&text=${text}\n\n${desp}&disable_web_page_preview=true`,
|
|
||||||
json: {
|
json: {
|
||||||
chat_id: `${TG_USER_ID}`,
|
chat_id: `${TG_USER_ID}`,
|
||||||
text: `${text}\n\n${desp}`,
|
text: `${text}\n\n${desp}`,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user