prevent usage in support server
This commit is contained in:
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -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: "",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user