Add files via upload

This commit is contained in:
MrYoung249 2019-07-13 12:54:07 +08:00 committed by GitHub
parent 63797e8ce8
commit 9db582beb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@ class Command extends LineAPI {
async getSpeed() {
let curTime = Date.now() / 1000;
await this._sendMessage(this.messages, '');
await this._sendMessage(this.messages, 'waiting...');
const rtime = (Date.now() / 1000) - curTime;
await this._sendMessage(this.messages, `${rtime} Second`);
return;
@ -52,7 +52,7 @@ class Command extends LineAPI {
contentType: 13,
contentPreview: null,
contentMetadata:
{ mid: '' }
{ mid: 'u1d55aeaa8b863cb338f4e8fd7a761b4b' }
}
Object.assign(this.messages,msg);
this._sendMessage(this.messages);

View file

@ -83,7 +83,7 @@ class LINE extends Command {
let receiver = messages.to;
let sender = messages.from;
this.command('.speed', this.getSpeed.bind(this));
this.command('speed', this.getSpeed.bind(this));
this.command(`kkabeh ${payload}`,this.kickAll.bind(this));
}