10 lines
267 B
JavaScript
10 lines
267 B
JavaScript
// This event executes when a new guild (server) is left.
|
|
|
|
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);
|
|
}
|
|
};
|