go exemplar of Pop3Command to POP3 class

This commit is contained in:
fullgream 2025-05-16 02:45:48 +03:00
parent 0d8fb7344b
commit 6af2abc5e2

View File

@ -22,11 +22,15 @@ try {
global.config = require("./config.json"); global.config = require("./config.json");
const pop3 = new Pop3Command(global.config["pop3-config"]);
class POP3 extends EventEmitter { class POP3 extends EventEmitter {
constructor () { constructor () {
super(); super();
this.pop3cmd = new Pop3Command(global.config["pop3-config"]);
} }
} }
const pop3 = new POP3();
let interval = setTimeout(async () => {
}, 1);