27 lines
454 B
JavaScript
27 lines
454 B
JavaScript
/** Join */
|
|
class JoinClass {
|
|
constructor(bot, LineNotify) {
|
|
this.bot = bot;
|
|
this.LineNotify = LineNotify;
|
|
}
|
|
|
|
Join(event) {
|
|
// switch (event.message.type) {
|
|
// case 'text': {
|
|
// this.Text(event);
|
|
// break;
|
|
// }
|
|
|
|
// case 'sticker': {
|
|
// this.Sticker(event);
|
|
// break;
|
|
// }
|
|
|
|
// default:
|
|
// break;
|
|
// }
|
|
console.log(`[Join] ${JSON.stringify(event)}`);
|
|
}
|
|
}
|
|
|
|
module.exports = JoinClass |