Files
SupportBot/Events/guildDelete.js
T

10 lines
374 B
JavaScript
Raw Normal View History

2021-11-17 19:04:38 -06:00
const Event = require("../Structures/Event.js");
2022-01-29 23:57:10 -06:00
module.exports = new Event("guildDelete", async (client) => {
2021-11-17 19:04:38 -06:00
console.log(
`\u001b[31m`,
`${client.user.username} is not in the correct server set in your config. Please join the server and restart the bot.`
);
console.log(`\u001b[31m`, `${client.user.username} will now exit.`);
return process.exit(1);
});