Update ServerFolders.plugin.js

This commit is contained in:
Mirco Wittrien 2024-11-24 17:22:47 +01:00
parent e5baa32adb
commit 41e12808a7
1 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
* @name ServerFolders
* @author DevilBro
* @authorId 278543574059057154
* @version 7.2.6
* @version 7.2.7
* @description Changes Discord's Folders, Servers open in a new Container, also adds extra Features to more easily organize, customize and manage your Folders
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -858,6 +858,7 @@ module.exports = (_ => {
}
processGuildItem (e) {
if (!e.instance.props.guild || typeof e.instance.props?.children?.props?.className != "string" || e.instance.props?.children?.props?.className.indexOf(BDFDB.disCN.guildcontainer) == -1) return;
BDFDB.TimeUtils.clear(forceCloseTimeout);
forceCloseTimeout = BDFDB.TimeUtils.timeout(_ => {
let newCurrentGuild = BDFDB.LibraryStores.SelectedGuildStore.getGuildId();