Files
SupportBot/Events/guildCreate.js
T

9 lines
388 B
JavaScript
Raw Permalink Normal View History

2021-11-17 19:04:38 -06:00
const Event = require("../Structures/Event.js");
2021-12-18 18:58:02 -06:00
module.exports = new Event("guildCreate", async (client, guild) => {
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 leave all other servers and restart the bot.`
);
console.log(`\u001b[31m`, `${client.user.username} will now exit.`);
return process.exit(1);
});