From 609f7ad956c66e71427ddb0474d85f736a17960d Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 29 Nov 2022 14:12:15 +0100 Subject: [PATCH] stuff --- Library/_res/0BDFDB.data.json | 7 ++++++- Plugins/EditChannels/EditChannels.plugin.js | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Library/_res/0BDFDB.data.json b/Library/_res/0BDFDB.data.json index 7ca7df9f9d..35c1a3d215 100644 --- a/Library/_res/0BDFDB.data.json +++ b/Library/_res/0BDFDB.data.json @@ -362,6 +362,7 @@ "ActiveThread": {"strings": [".threadId", ".gotoThread", ".showChannelName"]}, "AnalyticsContext": {"props": ["ObjectTypes", "Objects", "Pages", "Sections"]}, "AuditLogEntry": {"protos": ["renderRoleUpdate", "renderChangeDetails", "getActionTypeColor", "renderPermissionUpdate"]}, + "AuditLogs": {"strings": ["Messages.SEARCH_MEMBERS", "._lastExpandedRef", ".handleActionFilterQueryClear"]}, "AuthWrapper": {"protos": ["renderDefault", "renderMobile", "mobileReplaceWith"]}, "AutocompleteChannelResult": {"strings": [".channel", ".category", ".type===", ".GUILD_CATEGORY?", "().icon"]}, "AutocompleteRoleResult": {"strings": [".hideDescription", ".colorString", ".Messages.MENTION_USERS_WITH_ROLE"]}, @@ -372,10 +373,12 @@ "BlobMask": {"protos": ["getBadgePositionInterpolation", "getUpperBadgeStyles"]}, "BlockedMessageGroup": {"strings": ["collapsed-message-item", "isBeforeGroup", "collapsedReason"]}, "ChannelCall": {"strings": ["maybeLeaveFullScreen", "handleFullscreenParticipant", "CHANNEL_CALL_POPOUT"]}, + "ChannelCallGrid": {"strings": [".totalNumberOfParticipants", "keyExtractor:", "channel_user_limit:"]}, "ChannelItem": {"strings": ["canHaveDot", "unreadRelevant", "UNREAD_HIGHLIGHT"]}, "ChannelItemIcon": {"strings": [".hasActiveThreads", ".locked", ".iconContainer"]}, "ChannelMembers": {"strings": ["MEMBER_LIST_VIEWED", "getDimensions", "member-"]}, "ChannelPins": {"strings": ["PINNED_MESSAGES", "renderEmptyState", "listName"]}, + "ChannelReply": {"strings": [".messageReference", ".REPLY_MENTION_OFF", ".mentionIcon"]}, "ChannelSidebar": {"strings": ["ACCOUNT_PANEL", "RTC_CONNECTION_PANEL", "ACCOUNT_A11Y_LABEL"]}, "ChannelsList": {"protos": ["isUnreadVisible", "renderBottomUnread", "getSectionRowsFromChannel"]}, "ChannelTextAreaButtons": {"strings": [".buttons", "\"expression\"", "activeCommandOption"]}, @@ -402,10 +405,12 @@ "FolderItemWrapper": {"strings": [".folderNode", "getActiveStreamForUser", "currentActiveVoiceType"]}, "GuildChannelListContextMenu": {"strings": ["GUILD_ACTIONS_MENU_LABEL", "\"guild-context\",\"aria-label\""]}, "GuildContextMenu": {"strings": ["GUILD_ACTIONS_MENU_LABEL", "navId:\"guild", "GuildContextMenu"]}, + "GuildEmojiList": {"strings": ["getMaxEmojiSlots", "lightSrc:", ".Messages.NO_EMOJI"]}, "GuildFavorites": {"strings": [".favoriteIcon", "FAVORITES_GUILD_NAME"]}, + "GuildInvites": {"strings": [".NO_INVITES_BODY", ".DISABLE_INVITES", "submitting"]}, "GuildItem": {"strings": [".guildNode", "guildJoinRequestStatus", "lowerBadgeWidth"]}, + "GuildMemberEntry": {"strings": [".renderOwnerHelpIcon(", ".overflowButton", ".roleWrapper"]}, "GuildsBar": {"strings": ["unreadMentionsIndicatorTop", "disableAppDownload", ".GUILD_MEMBER_VERIFICATION"]}, - "GuildSettingsInvites": {"strings": [".NO_INVITES_BODY", ".DISABLE_INVITES", "submitting"]}, "GuildSidebar": {"strings": ["\"guildsnav\"", "unreadMentionsIndicatorBottom"]}, "GuildTooltip": {"strings": ["tooltipClassName", "includeActivity", "listItemTooltip"]}, "HeaderBar": {"strings": [".hamburger", "scrollable", "themed"]}, diff --git a/Plugins/EditChannels/EditChannels.plugin.js b/Plugins/EditChannels/EditChannels.plugin.js index 07783a8a26..bd89da4fcb 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.4.7 + * @version 4.4.8 * @description Allows you to locally edit Channels * @invite Jx3TjNS * @donate https://www.paypal.me/MircoWittrien @@ -91,7 +91,7 @@ module.exports = (_ => { "ChannelsList", "ChannelTextAreaEditor", "ChannelThreadItem", - "GuildSettingsInvites", + "GuildInvites", "MessageContent", "QuickSwitchChannelResult", "RecentsChannelHeader", @@ -340,7 +340,7 @@ module.exports = (_ => { } } - processGuildSettingsInvites (e) { + processGuildInvites (e) { if (!this.settings.places.inviteLog || !e.instance.props.invites) return; e.instance.props.invites = Object.assign({}, e.instance.props.invites); for (let id in e.instance.props.invites) e.instance.props.invites[id] = new BDFDB.DiscordObjects.Invite(Object.assign({}, e.instance.props.invites[id], {channel: this.getChannelData(e.instance.props.invites[id].channel.id)}));