forked from dassschaf/nextcontrol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.js
38 lines (33 loc) · 1.27 KB
/
plugins.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
import { NextControl } from './nextcontrol.js';
/*** List of Plugins: ****/
import { SamplePlugin } from './plugins/sample.js';
import { Join } from './plugins/join.js';
import { LocalRecords } from './plugins/localRecords.js';
import { AdminSuite } from './plugins/admin.js';
import { ListsPlugin } from './plugins/list.js';
import { JukeboxPlugin } from './plugins/jukebox.js';
import { ForceModsPlugin } from "./plugins/forceMods.js";
import { DiscordBot } from "./plugins/discord.js";
import { HelpCommand } from "./plugins/help.js";
// to add another plugin, uncomment and adjust this line:
// import { PluginClass } from './path/to/file.js';
/**
* Returns the list of ready plugins
* @param {NextControl} nextcontrol NextControl instance
*/
export function getPluginList(nextcontrol) {
let plugins = [
new SamplePlugin(nextcontrol),
new Join(nextcontrol),
new LocalRecords(nextcontrol),
new AdminSuite(nextcontrol),
new ListsPlugin(nextcontrol),
new JukeboxPlugin(nextcontrol),
new ForceModsPlugin(nextcontrol),
new DiscordBot(nextcontrol),
new HelpCommand(nextcontrol),
// to add another plugin, add a plugin instance to this array:
// new PluginClass(nextcontrol)
];
return plugins;
}