From 8a18e8128dc72448d7910b59bea062c89e2aa40b Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 17 Aug 2024 16:33:53 +0200 Subject: [PATCH] Update EditChannels.plugin.js --- Plugins/EditChannels/EditChannels.plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/EditChannels/EditChannels.plugin.js b/Plugins/EditChannels/EditChannels.plugin.js index 1978e48834..58cd6c1f2b 100644 --- a/Plugins/EditChannels/EditChannels.plugin.js +++ b/Plugins/EditChannels/EditChannels.plugin.js @@ -2,7 +2,7 @@ * @name EditChannels * @author DevilBro * @authorId 278543574059057154 - * @version 4.5.8 + * @version 4.5.9 * @description Allows you to locally edit Channels * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -523,7 +523,7 @@ module.exports = (_ => { processChannelsList (e) { if (!this.settings.places.channelList || !e.instance.props.guildChannels) return; - e.instance.props.guildChannels = new e.instance.props.guildChannels.constructor(e.instance.props.guild.id, e.instance.props.guildChannels.communitySection && e.instance.props.guildChannels.communitySection.communityRows || []); + e.instance.props.guildChannels = new e.instance.props.guildChannels.constructor(e.instance.props.guild.id, e.instance.props.guildChannels.guildActionSection && e.instance.props.guildChannels.guildActionSection.guildActionRows || [], e.instance.props.guildChannels.channelNoticeSection && e.instance.props.guildChannels.channelNoticeSection.rows || []); for (let id in e.instance.props.guildChannels.categories) e.instance.props.guildChannels.categories[id].record = this.getChannelData(id, true, e.instance.props.guildChannels.categories[id].record); let getChannelFromSectionRow = e.instance.props.guildChannels.getChannelFromSectionRow.bind(e.instance.props.guildChannels); e.instance.props.guildChannels.getChannelFromSectionRow = BDFDB.TimeUtils.suppress((...args) => {