feat: initial Papo bot scaffold
This commit is contained in:
12
src/events/guildBanAdd.ts
Normal file
12
src/events/guildBanAdd.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { GuildBan } from 'discord.js';
|
||||
import { EventHandler } from '../utils/types.js';
|
||||
import { context } from '../config/context.js';
|
||||
|
||||
const event: EventHandler = {
|
||||
name: 'guildBanAdd',
|
||||
execute(ban: GuildBan) {
|
||||
context.logging.logAction(ban.user, 'Ban');
|
||||
}
|
||||
};
|
||||
|
||||
export default event;
|
||||
Reference in New Issue
Block a user