generated from nhcarrigan/template
feat: migrate from github
This commit is contained in:
16
src/events/guild/onGuildDelete.ts
Normal file
16
src/events/guild/onGuildDelete.ts
Normal file
@ -0,0 +1,16 @@
|
||||
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}) `
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user