Add files via upload

This commit is contained in:
MrYoung249 2019-07-13 12:46:14 +08:00 committed by GitHub
parent 5f7d534d52
commit 95d47d0d43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -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);

View file

@ -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));
}