Get and send messages
This commit is contained in:
parent
bcbd16f196
commit
c166e24ea5
1 changed files with 100 additions and 3 deletions
16
src/models/Base.js
Normal file
16
src/models/Base.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Represents a data model
|
||||
*/
|
||||
class Base {
|
||||
constructor(client) {
|
||||
/**
|
||||
* The client that instantiated this
|
||||
* @readonly
|
||||
*/
|
||||
Object.defineProperty(this, 'client', { value: client });
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Base;
|
||||
Loading…
Reference in a new issue