mirror of
https://github.com/liberliber/LINE-KickBot1.git
synced 2024-09-20 06:46:01 +08:00
Add files via upload
This commit is contained in:
parent
5f7d534d52
commit
95d47d0d43
|
@ -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);
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue