13 lines
312 B
TypeScript
13 lines
312 B
TypeScript
import { GuildBan } from 'discord.js';
|
|
import { EventHandler } from '../utils/types';
|
|
import { context } from '../config/context';
|
|
|
|
const event: EventHandler = {
|
|
name: 'guildBanAdd',
|
|
execute(ban: GuildBan) {
|
|
context.logging.logAction(ban.user, 'Ban', undefined, ban.guild);
|
|
}
|
|
};
|
|
|
|
export default event;
|