Showing
3 changed files
with
3 additions
and
7 deletions
... | @@ -3,7 +3,7 @@ const request = require('request'); | ... | @@ -3,7 +3,7 @@ const request = require('request'); |
3 | const TARGET_URL = 'https://api.line.me/v2/bot/message/push' | 3 | const TARGET_URL = 'https://api.line.me/v2/bot/message/push' |
4 | const MULTI_TARGET_URL = 'https://api.line.me/v2/bot/message/multicast' | 4 | const MULTI_TARGET_URL = 'https://api.line.me/v2/bot/message/multicast' |
5 | const BROAD_TARGET_URL = 'https://api.line.me/v2/bot/message/broadcast' | 5 | const BROAD_TARGET_URL = 'https://api.line.me/v2/bot/message/broadcast' |
6 | -const TOKEN = 'XOyIf8jsoQKq3b1zqxE4wawAoFU2Hz433AO3w8/ye+i6+2KrXpyfFwY0Dk/xhHQLPgtgPTiEP/m4IRW+SlVhdtzfH6c0Lfdw6nJ95QOugHfNWfviAmn5Uojh8LQJeAy21bvaNMCy11f+qgLSRnXmCgdB04t89/1O/w1cDnyilFU=' | 6 | +const TOKEN = 't0DOzXzztYMAAGKj2h55uu09BYXkYqQe90lyln4m2pH+W6orI6hlJKOa4+j2NMcRvEqErZ6FNs2nvMDIYwLc6lat7A2tAUlFXbR3E+RNmZ5RTbUXkdlbsnbm2rBIODnJkwhRxxspZbQlsd+ObmYSQwdB04t89/1O/w1cDnyilFU=' |
7 | var USER_ID = 'Uc4258407a7677769f74ba184ec036651' | 7 | var USER_ID = 'Uc4258407a7677769f74ba184ec036651' |
8 | 8 | ||
9 | //Single User | 9 | //Single User |
... | @@ -26,10 +26,6 @@ function SingleCast(sendMsg, destination){ | ... | @@ -26,10 +26,6 @@ function SingleCast(sendMsg, destination){ |
26 | "type":"text", | 26 | "type":"text", |
27 | "text":sendMsg | 27 | "text":sendMsg |
28 | }, | 28 | }, |
29 | - { | ||
30 | - "type":"text", | ||
31 | - "text":"May I help you?" | ||
32 | - } | ||
33 | ] | 29 | ] |
34 | } | 30 | } |
35 | },(error, response, body) => { | 31 | },(error, response, body) => { | ... | ... |
... | @@ -3,7 +3,7 @@ var tryParse = require('tryparse'); | ... | @@ -3,7 +3,7 @@ var tryParse = require('tryparse'); |
3 | var papago = require('./transmessage.js'); | 3 | var papago = require('./transmessage.js'); |
4 | const request = require('request'); | 4 | const request = require('request'); |
5 | const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' // reply api | 5 | const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' // reply api |
6 | -const TOKEN = 'XOyIf8jsoQKq3b1zqxE4wawAoFU2Hz433AO3w8/ye+i6+2KrXpyfFwY0Dk/xhHQLPgtgPTiEP/m4IRW+SlVhdtzfH6c0Lfdw6nJ95QOugHfNWfviAmn5Uojh8LQJeAy21bvaNMCy11f+qgLSRnXmCgdB04t89/1O/w1cDnyilFU=' | 6 | +const TOKEN = 't0DOzXzztYMAAGKj2h55uu09BYXkYqQe90lyln4m2pH+W6orI6hlJKOa4+j2NMcRvEqErZ6FNs2nvMDIYwLc6lat7A2tAUlFXbR3E+RNmZ5RTbUXkdlbsnbm2rBIODnJkwhRxxspZbQlsd+ObmYSQwdB04t89/1O/w1cDnyilFU=' |
7 | const fs = require('fs'); | 7 | const fs = require('fs'); |
8 | const path = require('path'); | 8 | const path = require('path'); |
9 | const HTTPS = require('https'); | 9 | const HTTPS = require('https'); | ... | ... |
1 | var express = require('express'); | 1 | var express = require('express'); |
2 | const request = require('request'); | 2 | const request = require('request'); |
3 | const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' | 3 | const TARGET_URL = 'https://api.line.me/v2/bot/message/reply' |
4 | -const TOKEN = 'XOyIf8jsoQKq3b1zqxE4wawAoFU2Hz433AO3w8/ye+i6+2KrXpyfFwY0Dk/xhHQLPgtgPTiEP/m4IRW+SlVhdtzfH6c0Lfdw6nJ95QOugHfNWfviAmn5Uojh8LQJeAy21bvaNMCy11f+qgLSRnXmCgdB04t89/1O/w1cDnyilFU=' | 4 | +const TOKEN = 't0DOzXzztYMAAGKj2h55uu09BYXkYqQe90lyln4m2pH+W6orI6hlJKOa4+j2NMcRvEqErZ6FNs2nvMDIYwLc6lat7A2tAUlFXbR3E+RNmZ5RTbUXkdlbsnbm2rBIODnJkwhRxxspZbQlsd+ObmYSQwdB04t89/1O/w1cDnyilFU=' |
5 | const PAPAGO_URL = 'https://openapi.naver.com/v1/papago/n2mt' | 5 | const PAPAGO_URL = 'https://openapi.naver.com/v1/papago/n2mt' |
6 | const PAPAGO_ID = 'UZMyxEhDtcZQ4JNNeohy' | 6 | const PAPAGO_ID = 'UZMyxEhDtcZQ4JNNeohy' |
7 | const PAPAGO_SECRET = 'J2yR82NwYK' | 7 | const PAPAGO_SECRET = 'J2yR82NwYK' | ... | ... |
-
Please register or login to post a comment