forked from Galactic/galactic-bot
29 lines
429 B
JavaScript
29 lines
429 B
JavaScript
|
const { Observer } = require('../../../interfaces/');
|
||
|
|
||
|
class Automute extends Observer {
|
||
|
|
||
|
constructor(client) {
|
||
|
|
||
|
super(client, {
|
||
|
name: 'automute',
|
||
|
priority: 1,
|
||
|
guarded: true
|
||
|
});
|
||
|
|
||
|
this.client = client;
|
||
|
|
||
|
this.hooks = [
|
||
|
['guildMemberAdd', this.onJoin.bind(this)]
|
||
|
];
|
||
|
|
||
|
}
|
||
|
|
||
|
async onJoin(member) {
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = Automute;
|