diff --git a/index.js b/index.js index 4287f25..2923c34 100644 --- a/index.js +++ b/index.js @@ -214,7 +214,7 @@ const rest = new REST({ var logChannel; dcClient.on('ready', () => { console.log(`${colors.cyan("[INFO]")} Logged in as ${dcClient.user.tag}!`); - logChannel = dcClient.channels.cache.get(config.discord.logChannel); + logChannel = dcClient.channels.cache.get(config.discord.logId); // Set up application commands const commands = require('./commands.json');