import { Message } from 'discord.js';
import { EventHandler } from '../utils/types';
import { context } from '../config/context';

const event: EventHandler = {
  name: 'messageDelete',
  execute(message: Message) {
    context.logging.logMessageDelete(message);
  }
};

export default event;
