Add files via upload

This commit is contained in:
Juan Young 2019-07-14 10:38:38 +08:00 committed by GitHub
parent 55d7b47535
commit ab18e95417
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -84,7 +84,7 @@ class LineAPI {
_qrCodeLogin() {
this.setTHttpClient();
return new Promise((resolve, reject) => {
this._client.getAuthQrcode(true, 'MB-JSKICKER',(err, result) => {
this._client.getAuthQrcode(true, 'N0HE4D-YOUNG',(err, result) => {
const qrcodeUrl = `line://au/q/${result.verifier}`;
qrcode.generate(qrcodeUrl,{small: true});
console.info(`\n\nlink qr code is: ${qrcodeUrl}`)
@ -132,7 +132,7 @@ class LineAPI {
reqx.password = rsaCrypto.credentials;
reqx.keepLoggedIn = true;
reqx.accessLocation = this.config.ip;
reqx.systemName = 'MB-JSKICKER';
reqx.systemName = 'Js-Kicker';
reqx.e2eeVersion = 0;
try{
this._client.loginZ(reqx,

View file

@ -9,6 +9,14 @@ console.info("\n\
.:: .:: .::.:: .::.:: .: .::.:: .::::\n\
.:: .:: .:: .:: .::.:: .: :: .:: .: \n\
.:: .:::: .::::: .:: .:: .::::: \n");
console.info("\n\
=========================================\n\
BotName: LINE Alphat JS\n\
Version: FORKED VERSION\n\
Thanks to @Alfathdirk @TCR_TEAM\n\
=========================================\n\
\nNOTE : This bot is made by @Alfathdirk @TCR_TEAM and has been forked by Young !\n\
***Copyright belongs to the author***");
const auth = {
authToken: '',