2018-02-13 23:10:22 +01:00
|
|
|
/**
|
|
|
|
* BetterDiscord External Module Base
|
|
|
|
* Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks
|
|
|
|
* All rights reserved.
|
|
|
|
* https://betterdiscord.net
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
2018-05-28 02:42:59 +02:00
|
|
|
import Globals from './globals';
|
2018-03-06 01:24:14 +01:00
|
|
|
import Content from './content';
|
2018-02-14 00:36:40 +01:00
|
|
|
|
2018-03-06 01:24:14 +01:00
|
|
|
export default class ExtModule extends Content {
|
2018-02-13 23:10:22 +01:00
|
|
|
|
2018-03-06 01:24:14 +01:00
|
|
|
constructor(internals) {
|
|
|
|
super(internals);
|
2018-05-28 02:42:59 +02:00
|
|
|
this.__require = Globals.require(this.paths.mainPath);
|
2018-02-13 23:10:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
get type() { return 'module' }
|
2018-02-14 00:23:52 +01:00
|
|
|
|
2018-02-13 23:10:22 +01:00
|
|
|
}
|