Initial commit
This commit is contained in:
19
src/managers/BaseManager.js
Normal file
19
src/managers/BaseManager.js
Normal file
@@ -0,0 +1,19 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Manages the API methods of a data model.
|
||||
* @abstract
|
||||
*/
|
||||
class BaseManager {
|
||||
constructor(client) {
|
||||
/**
|
||||
* The client that instantiated this Manager
|
||||
* @name BaseManager#client
|
||||
* @type {Client}
|
||||
* @readonly
|
||||
*/
|
||||
Object.defineProperty(this, 'client', { value: client });
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BaseManager;
|
||||
Reference in New Issue
Block a user