29 lines
429 B
JavaScript
29 lines
429 B
JavaScript
|
const { Observer } = require('../../../interfaces/');
|
||
|
|
||
|
class Autorole extends Observer {
|
||
|
|
||
|
constructor(client) {
|
||
|
|
||
|
super(client, {
|
||
|
name: 'autorole',
|
||
|
priority: 3,
|
||
|
guarded: true
|
||
|
});
|
||
|
|
||
|
this.client = client;
|
||
|
|
||
|
this.hooks = [
|
||
|
['guildMemberAdd', this.onJoin.bind(this)]
|
||
|
];
|
||
|
|
||
|
}
|
||
|
|
||
|
async onJoin(member) {
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = Autorole;
|