remove duplicate commands

This commit is contained in:
SowinskiBraeden committed 2022-09-01 17:37:15 -07:00
1 parent 390e2438fb
commit af81959eaa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ require('dotenv').config();
module.exports = { module.exports = {
Dev: "PROD.", Dev: "PROD.",
Version: "12.4.2", Version: "12.4.3",
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
DefaultPrefix: "?", DefaultPrefix: "?",
ServerID: "955668596745461830", ServerID: "955668596745461830",
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = {
for (const file of commandFiles) { for (const file of commandFiles) {
const command = require(`../commands/${file}`); const command = require(`../commands/${file}`);
commands.push(command); // Include global commands in guild if (!commands.global) commands.push(command); // Include global commands in guild
} }
const rest = new REST({ version: '10' }).setToken(client.config.Token); const rest = new REST({ version: '10' }).setToken(client.config.Token);