diff --git a/config/config.js b/config/config.js index 99090f2..7840fb8 100644 --- a/config/config.js +++ b/config/config.js @@ -3,7 +3,7 @@ module.exports = { Version: "0.1.0", Admins: ["362791661274660874"], // Admins of the bot DefaultPrefix: "?", - SupportServer: "https://discord.gg/UnxZtEZ2", //Support Server Link + SupportServer: "https://discord.gg/YCXhvy9uZw", //Support Server Link Token: process.env.token || "", //Discord Bot Token Scopes: ["identify", "guilds", "applications.commands"], //Discord OAuth2 Scopes IconURL: "", diff --git a/events/messageCreate.js b/events/messageCreate.js index d82ee34..1b1d478 100644 --- a/events/messageCreate.js +++ b/events/messageCreate.js @@ -6,6 +6,7 @@ */ module.exports = async (client, message) => { + if (message.guild.id === client.config.serverID) return; if (message.author.bot || message.channel.type === "dm") return; let GuildDB = await client.GetGuild(message.guild.id);