galactic-bot/structure/client/components/observers/BanLogger.js
2020-04-17 23:18:52 +03:00

36 lines
543 B
JavaScript

const { Observer } = require('../../../interfaces/');
class BanLogger extends Observer {
constructor(client) {
super(client, {
name: 'autorole',
priority: 3,
guarded: true
});
this.client = client;
this.hooks = [
['guildBanAdd', this.onBan.bind(this)],
['guildBanRemove', this.onUnban.bind(this)]
];
}
async onBan(guild, member) {
}
async onUnban(guild, member) {
}
}
module.exports = BanLogger;