mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 15:13:09 +02:00
✌️
This commit is contained in:
parent
a931bcbf8d
commit
103979dd6f
1 changed files with 2 additions and 2 deletions
|
@ -73,8 +73,8 @@ class LineBot extends BotCore {
|
|||
}]);
|
||||
}
|
||||
// postback
|
||||
} else if (ev.message.type == 'postback') {
|
||||
const data = ev.message.postback.data;
|
||||
} else if (ev.type == 'postback') {
|
||||
const data = ev.postback.data;
|
||||
const cmd = data.split('|')[0];
|
||||
const arg = data.split('|')[1];
|
||||
switch (cmd) {
|
||||
|
|
Loading…
Reference in a new issue