go exemplar of Pop3Command to POP3 class
This commit is contained in:
parent
0d8fb7344b
commit
6af2abc5e2
@ -22,11 +22,15 @@ try {
|
||||
|
||||
global.config = require("./config.json");
|
||||
|
||||
const pop3 = new Pop3Command(global.config["pop3-config"]);
|
||||
|
||||
class POP3 extends EventEmitter {
|
||||
constructor () {
|
||||
super();
|
||||
this.pop3cmd = new Pop3Command(global.config["pop3-config"]);
|
||||
}
|
||||
}
|
||||
|
||||
const pop3 = new POP3();
|
||||
|
||||
let interval = setTimeout(async () => {
|
||||
|
||||
}, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user