forked from Galactic/galactic-bot
17 lines
263 B
JavaScript
17 lines
263 B
JavaScript
|
const { Structures } = require('discord.js');
|
||
|
|
||
|
const Role = Structures.extend('Role', (Role) => {
|
||
|
|
||
|
class ExtendedRole extends Role {
|
||
|
|
||
|
get display() {
|
||
|
return this.name;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
return ExtendedRole;
|
||
|
|
||
|
});
|
||
|
|
||
|
module.exports = Role;
|