mrmBot-Matrix/events/guildDelete.js

7 lines
236 B
JavaScript
Raw Normal View History

2019-09-13 20:02:41 +00:00
const logger = require("../utils/logger.js");
// run when the bot is removed from a guild
2021-07-05 04:15:27 +00:00
module.exports = async (client, cluster, worker, ipc, guild) => {
2019-09-13 20:02:41 +00:00
logger.log(`[GUILD LEAVE] ${guild.name} (${guild.id}) removed the bot.`);
};