cardboardbox/events/guildDelete.js

8 lines
208 B
JavaScript
Raw Normal View History

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);
}
};