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) {