Skip to content

Commit 2ce27f5

Browse files
committed
Forgot to build, should really automate
1 parent 953eb1e commit 2ce27f5

File tree

2 files changed

+6
-32
lines changed

2 files changed

+6
-32
lines changed

build/libs/ModuleManager/types/Module.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ export default abstract class ModuleBase {
44
/**
55
* The name of the module
66
*/
7-
readonly name: string;
7+
abstract readonly name: string;
88
/**
99
* Any Required module the module has
1010
*/
11-
readonly depend_on?: string[];
11+
abstract readonly depend_on?: string[];
1212
/**
1313
* The module's development version
1414
*/
15-
readonly version: string;
15+
abstract readonly version: string;
1616
/**
1717
* Short description of what the module is / does
1818
*/
19-
readonly description: string;
19+
abstract readonly description: string;
2020
/**
2121
* The author(s) of the module
2222
*/
23-
readonly author: string | string[];
23+
abstract readonly author: string | string[];
2424
/**
2525
* Module's Commands
2626
*/
@@ -47,7 +47,7 @@ export default abstract class ModuleBase {
4747
* Loads the module's resources into the main system
4848
* @param bot The discord bot client
4949
*/
50-
load?: (client: BotClient) => Promise<void> | void;
50+
abstract load?: (client: BotClient) => Promise<void> | void;
5151
/**
5252
* UnLoads the module's resources into the main system
5353
* @param bot The discord bot client

build/libs/ModuleManager/types/Module.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,6 @@
44
/* eslint-disable @typescript-eslint/no-empty-function */
55
Object.defineProperty(exports, "__esModule", { value: true });
66
class ModuleBase {
7-
/**
8-
* The name of the module
9-
*/
10-
name;
11-
/**
12-
* Any Required module the module has
13-
*/
14-
depend_on;
15-
/**
16-
* The module's development version
17-
*/
18-
version;
19-
/**
20-
* Short description of what the module is / does
21-
*/
22-
description;
23-
/**
24-
* The author(s) of the module
25-
*/
26-
author;
277
/**
288
* Module's Commands
299
*/
@@ -46,12 +26,6 @@ class ModuleBase {
4626
* <id, callback>
4727
*/
4828
menus;
49-
/**
50-
* Loads the module's resources into the main system
51-
* @param bot The discord bot client
52-
*/
53-
// load(bot: Client): void {}
54-
load;
5529
/**
5630
* UnLoads the module's resources into the main system
5731
* @param bot The discord bot client

0 commit comments

Comments
 (0)