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

const event: EventHandler = {
  name: 'channelDelete',
  execute(channel: GuildChannel) {
    if (!channel.guild) return;
    context.logging.logSystem(channel.guild, `Channel gelöscht: ${channel.name} (${channel.id})`);
  }
};

export default event;
