mod-bot/src/events/guild/onGuildDelete.ts
2024-05-12 01:52:39 -07:00

17 lines
413 B
TypeScript

import { Guild } from "discord.js";
import { ExtendedClient } from "../../interfaces/ExtendedClient";
/**
*
* @param {ExtendedClient} bot The bot's Discord instance.
* @param {Guild} guild The newly left Discord guild.
*/
export const onGuildDelete = async function (
bot: ExtendedClient,
guild: Guild
) {
await bot.env.debugHook.send({
content: `LEFT GUILD: ${guild.name} (${guild.id}) `
});
};