cardboardbox/events/guildDelete.js

7 lines
208 B
JavaScript

module.exports = (client, guild) => {
client.logger.cmd(`[GUILD LEAVE] ${guild.name} (${guild.id}) removed the bot.`);
if (client.settings.has(guild.id)) {
client.settings.delete(guild.id);
}
};