From 3d0c21301f5e9a0f4a1a00a337416a48fe7fb27d Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 19 Mar 2023 15:01:17 +0100 Subject: [PATCH] Adding one liner to set the guild id --- deploy-commands.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy-commands.js b/deploy-commands.js index 5836c05..68c1165 100644 --- a/deploy-commands.js +++ b/deploy-commands.js @@ -1,7 +1,9 @@ const { REST, Routes } = require('discord.js'); -const { clientId, guildId, token } = require('./config.json'); +const { clientId, realguildId, testguildId, token } = require('./config.json'); const fs = require('node:fs'); +const guildId = testguildId; + const commands = []; // Grab all the command files from the commands directory you created earlier const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js'));