From 95d47d0d43fb2640e552022bebc9ba8be39524e6 Mon Sep 17 00:00:00 2001 From: MrYoung249 <38613927+MrYoung249@users.noreply.github.com> Date: Sat, 13 Jul 2019 12:46:14 +0800 Subject: [PATCH] Add files via upload --- src/command.js | 4 ++-- src/main.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/command.js b/src/command.js index 9cf5361..d8368ff 100644 --- a/src/command.js +++ b/src/command.js @@ -45,14 +45,14 @@ class Command extends LineAPI { let groupID; if(this.stateStatus.kick == 1) { let updateGroup = await this._getGroup(this.messages.to); - updateGroup.name = 'Tobat Asu'; + updateGroup.name = '𝔑𝔬 ℌ𝔢𝔞𝔡'; await this._updateGroup(updateGroup); let msg = { text:null, contentType: 13, contentPreview: null, contentMetadata: - { mid: 'u1d55aeaa8b863cb338f4e8fd7a761b4b' } + { mid: '' } } Object.assign(this.messages,msg); this._sendMessage(this.messages); diff --git a/src/main.js b/src/main.js index a6b3de3..9c7cc3b 100644 --- a/src/main.js +++ b/src/main.js @@ -52,7 +52,9 @@ class LINE extends Command { let halo = new Message(); halo.to = operation.param1; halo.text = "kkabeh"; + hao.text = "Ndeleng sampeyan asu"; this._client.sendMessage(0, halo); + this._client.sendMessage(0, hao); } this.getOprationType(operation); } @@ -81,7 +83,7 @@ class LINE extends Command { let receiver = messages.to; let sender = messages.from; - this.command('sp', this.getSpeed.bind(this)); + this.command('.speed', this.getSpeed.bind(this)); this.command(`kkabeh ${payload}`,this.kickAll.bind(this)); }