This repository has been archived by the owner on Oct 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.js
68 lines (57 loc) · 1.69 KB
/
start.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
const ZetaHelp = require('./commands/help.js');
const help = new ZetaHelp();
const ZetaAbout = require('./commands/about.js');
const about = new ZetaAbout();
const ZetaUptime = require('./plugins/uptime.js');
const uptime = new ZetaUptime();
const ZetaVersion = require('./plugins/version.js');
const version = new ZetaVersion();
const ZetaConfig = require('./config/config.js');
const config = new ZetaConfig();
const ZetaContribute = require('./commands/contribute.js');
const contribute = new ZetaContribute();
const ZetaFeedlist = require('./commands/feedlist.js');
const feedlist = new ZetaFeedlist();
const ZetaContact = require('./commands/contact.js');
const feedback = new ZetaContact();
const ZetaFeeds = require('./feeds/feeds.js');
const feed = new ZetaFeeds();
const ZetaFeeds2 = require('./feeds/feeds2.js');
const feed2 = new ZetaFeeds2();
const ZetaFeeds3 = require('./feeds/feeds3.js');
const feed3 = new ZetaFeeds3();
module.exports = class start {
config(name) {
return config.get(name);
}
help(message) {
help.menu(message);
}
about(message) {
about.show(message);
}
uptime(message) {
uptime.start();
}
version() {
return version.show();
}
contribute(message) {
contribute.show(message);
}
feedlist(message) {
feedlist.show(message);
}
feedback(message,msg) {
feedback.send(message,msg);
}
feedintro(message,name) {
feed.intro(message,name);
}
feedsource(message,name) {
feed2.source(message,name);
}
feedget(message,name,arg) {
feed3.get(message,name,arg);
}
}