galactic-bot/structure/client/components/observers/BanLogger.js
2020-04-19 03:12:10 -07:00

36 lines
544 B
JavaScript

const { Observer } = require('../../../interfaces/');
class BanLogger extends Observer {
constructor(client) {
super(client, {
name: 'banLogger',
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;