x
This commit is contained in:
1 parent
182d0349fa
commit
29bbc1a39e
1 file changed
+5
@@ -30,6 +30,11 @@ export const lineRoutes = new Elysia({ prefix: '/line' })
|
||||
|
||||
for (const event of events) {
|
||||
if (event.type === 'message' && event.message.type === 'text') {
|
||||
// Ignore verification dummy tokens
|
||||
if (event.replyToken === '00000000000000000000000000000000' || event.replyToken === 'ffffffffffffffffffffffffffffffff') {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Simple echo bot for now
|
||||
await lineClient.replyMessage({
|
||||
replyToken: event.replyToken,
|
||||
|
||||
Reference in new issue
Block a user