Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvitOP authored Dec 18, 2021
1 parent 8062cea commit a6c9a92
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ async function start() {

async function logins(token, botdata) {
let botsdata = require("./model.js");
if(!botdata || token) return;
if(!botdata || !token) {

await botsdata.deleteOne({botID: botdata.botID})
return;

}
const { get } = require('./cc_list_test/sqlite.js')
let client;
try {
Expand Down

0 comments on commit a6c9a92

Please sign in to comment.