From c67adda7b2bf2b0a6d1b43d0bc90b9b27caf5db5 Mon Sep 17 00:00:00 2001 From: Lamp Date: Wed, 15 Aug 2018 13:12:56 -0700 Subject: [PATCH] rename vdc vc in config cause it's not the main one --- src/config.js | 2 +- src/misc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.js b/src/config.js index 91af8ba..8661366 100644 --- a/src/config.js +++ b/src/config.js @@ -16,7 +16,7 @@ module.exports = { "channels": { // includes voice channels & category channels "main": testmode ? "467473467634089987" : "321819041348190249", - "voice": testmode ? "467473467634089989" : "425060452129701889", + "view_deleted_channels": testmode ? "467473467634089989" : "425060452129701889", "name_collection": testmode ? "467481952728121345" : '379738469511069698', "mpp_bridges": testmode ? "467481904707534850" : '360557444952227851', "user_channels": testmode ? "467482031157149709" : '399735134061985792', diff --git a/src/misc.js b/src/misc.js index 9d218c1..3a29ff5 100755 --- a/src/misc.js +++ b/src/misc.js @@ -14,7 +14,7 @@ // view deleted channels (async function(){ - var vcid = config.channels.voice; + var vcid = config.channels.view_deleted_channels; var rid = config.roles.viewing_deleted_channels; dClient.on('voiceStateUpdate', async (oldState, newState) => { if (oldState.channelID != vcid && newState.channelID == vcid) {