galactic-bot/structure/client/components/observers/BanLogger.js

36 lines
543 B
JavaScript
Raw Normal View History

2020-04-17 22:18:52 +02:00
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;