rename vdc vc in config

cause it's not the main one
This commit is contained in:
Lamp 2018-08-15 13:12:56 -07:00
parent 0592a2b562
commit c67adda7b2
No known key found for this signature in database
GPG Key ID: 0F1F8704BEDE369E
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

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