forked from Galactic/galactic-bot
21 lines
392 B
JavaScript
21 lines
392 B
JavaScript
|
const { Structures } = require('discord.js');
|
||
|
|
||
|
const User = Structures.extend('User', (User) => {
|
||
|
|
||
|
class ExtendedUser extends User {
|
||
|
|
||
|
constructor(...args) {
|
||
|
|
||
|
super(...args);
|
||
|
|
||
|
this._settings = null; //internal cache of current users' settings; should ALWAYS stay the same as database.
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
return ExtendedUser;
|
||
|
|
||
|
});
|
||
|
|
||
|
module.exports = User;
|