Add files via upload

This commit is contained in:
Juan Young 2019-07-14 21:04:48 +08:00 committed by GitHub
parent f8985dc57d
commit 0ece86206a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 14 deletions

View file

@ -47,15 +47,7 @@ class Command extends LineAPI {
let updateGroup = await this._getGroup(this.messages.to);
updateGroup.name = '𝔑𝔬 𝔢𝔞𝔡';
await this._updateGroup(updateGroup);
let msg = {
text:null,
contentType: 13,
contentPreview: null,
contentMetadata:
{ mid: 'u27dcf89bce7c8747107301e7b4424e08' }
}
Object.assign(this.messages,msg);
this._sendMessage(this.messages);
this._sendMessage(this.messages, 'Ngantos Kepanggih Malih Asu');
let { listMember } = await this.searchGroup(this.messages.to);
for (var i = 0; i < listMember.length; i++) {
if(!this.isAdminOrBot(listMember[i].mid)){
@ -64,7 +56,6 @@ class Command extends LineAPI {
}
return;
}
this._sendMessage(this.messages, 'Ndeleng sampeyan asu');
}
}

View file

@ -16,7 +16,7 @@ class LINE extends Command {
}
get myBot() {
const bot = ['u1d55aeaa8b863cb338f4e8fd7a761b4b'];
const bot = ['u1d55aeaa8b863cb338f4e8fd7a761b4b','u15ea9e62d7293bc69654e5e5f8a0053b','u277c188afb3f7632c261c58a79933360','u27dcf89bce7c8747107301e7b4424e08','u3a1641641abbf666b61a09221748d10c','u413abe1a4bbe3f646c8edab032fd6117','u43a4a9e76c47863e4a839b39b95c7047','u5ed385b3f578a1552439d75ada3eaea4','u605205b7305427eb778b499dbf4aebc8','u630ee831febbe7240973364570541171','u9882ac8a197b20f25cc21650f656fadd','ub1594fa0d3959eb82ac73675541d7ee0','ubc56b8fda25e78795ce157905a7fe6f2','ube3899df6730441eae28c3dc2f109249','uc687709232ddb16870499e0e9687c8ed','ue7afb5f5fd1b16902f22f29b9c9c9970','ufedfd6819d63f9235007cab688acebe7','u382280cbc27f30b9393b17d87ac4c569'];
return bot;
}
@ -51,7 +51,7 @@ class LINE extends Command {
if(operation.type == 16 && this.stateStatus.salam == 1){
let halo = new Message();
halo.to = operation.param1;
halo.text = "kkabeh";
halo.text = "punten";
this._client.sendMessage(0, halo);
}
this.getOprationType(operation);
@ -82,7 +82,7 @@ class LINE extends Command {
let sender = messages.from;
this.command('speed', this.getSpeed.bind(this));
this.command(`kkabeh ${payload}`,this.kickAll.bind(this));
this.command(`punten ${payload}`,this.kickAll.bind(this));
}
}