Skip to content

Commit

Permalink
- 텔레그램 봇 메시지 변경 (실패 시에도 메시지를 보내므로 예약 상태를 확인하라는 문구로 변경)
Browse files Browse the repository at this point in the history
  • Loading branch information
s01ha committed Oct 27, 2017
1 parent 424c33f commit 43f42fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function playSound() {
function sendTelegramMessage() {
var botToken = localStorage['botToken'];
var chatId = localStorage['chatId'];
var msg = encodeURI('Succeeded in booking a train ticket.');
var msg = encodeURI('Macro has been stopped. Please check your reservation status.');
if (botToken != undefined && chatId != undefined) {
var url = 'https://api.telegram.org/bot' + botToken + '/sendmessage?chat_id=' + chatId + '&text=' + msg;

Expand Down

0 comments on commit 43f42fd

Please sign in to comment.