mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
✌️
This commit is contained in:
parent
a931bcbf8d
commit
103979dd6f
@ -73,8 +73,8 @@ class LineBot extends BotCore {
|
|||||||
}]);
|
}]);
|
||||||
}
|
}
|
||||||
// postback
|
// postback
|
||||||
} else if (ev.message.type == 'postback') {
|
} else if (ev.type == 'postback') {
|
||||||
const data = ev.message.postback.data;
|
const data = ev.postback.data;
|
||||||
const cmd = data.split('|')[0];
|
const cmd = data.split('|')[0];
|
||||||
const arg = data.split('|')[1];
|
const arg = data.split('|')[1];
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
|
Loading…
Reference in New Issue
Block a user