stuff
This commit is contained in:
parent
dd9afbb912
commit
3cdb1935d4
|
@ -55,7 +55,6 @@
|
||||||
"EmojiUtils": {"props": ["translateInlineEmojiToSurrogates", "translateSurrogatesToInlineEmoji"]},
|
"EmojiUtils": {"props": ["translateInlineEmojiToSurrogates", "translateSurrogatesToInlineEmoji"]},
|
||||||
"EmojiStateUtils": {"props": ["getURL", "isEmojiDisabled"]},
|
"EmojiStateUtils": {"props": ["getURL", "isEmojiDisabled"]},
|
||||||
"Env": {"props": ["env"]},
|
"Env": {"props": ["env"]},
|
||||||
"FriendUtils": {"props": ["getFriendIDs", "getRelationships"]},
|
|
||||||
"FolderStore": {"props": ["getGuildFolderById", "getFlattenedGuilds"]},
|
"FolderStore": {"props": ["getGuildFolderById", "getFlattenedGuilds"]},
|
||||||
"FolderUtils": {"props": ["isFolderExpanded", "getExpandedFolders"]},
|
"FolderUtils": {"props": ["isFolderExpanded", "getExpandedFolders"]},
|
||||||
"GuildBadgeUtils": {"props": ["renderUnavailableBadge", "renderMentionBadge"]},
|
"GuildBadgeUtils": {"props": ["renderUnavailableBadge", "renderMentionBadge"]},
|
||||||
|
@ -114,6 +113,7 @@
|
||||||
"ReactionUtils": {"props": ["addReaction", "removeReaction"]},
|
"ReactionUtils": {"props": ["addReaction", "removeReaction"]},
|
||||||
"RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]},
|
"RecentMentionUtils": {"props": ["deleteRecentMention", "fetchRecentMentions"]},
|
||||||
"RelationshipStore": {"props": ["getFriendIDs", "getRelationships"]},
|
"RelationshipStore": {"props": ["getFriendIDs", "getRelationships"]},
|
||||||
|
"RelationshipSuggestionUtils": {"props": ["getSuggestionCount", "getSuggestions"]},
|
||||||
"RelationshipUtils": {"props": ["addRelationship", "removeRelationship"]},
|
"RelationshipUtils": {"props": ["addRelationship", "removeRelationship"]},
|
||||||
"RoleIconUtils": {"props": ["getRoleIconData"]},
|
"RoleIconUtils": {"props": ["getRoleIconData"]},
|
||||||
"SearchPageUtils": {"props": ["searchNextPage", "searchPreviousPage"]},
|
"SearchPageUtils": {"props": ["searchNextPage", "searchPreviousPage"]},
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* @name BetterFriendList
|
* @name BetterFriendList
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.4.0
|
* @version 1.4.1
|
||||||
* @description Adds extra Controls to the Friends Page, for example sort by Name/Status, Search and All/Request/Blocked Amount
|
* @description Adds extra Controls to the Friends Page, for example sort by Name/Status, Search and All/Request/Blocked Amount
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -17,7 +17,7 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "BetterFriendList",
|
"name": "BetterFriendList",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "1.4.0",
|
"version": "1.4.1",
|
||||||
"description": "Adds extra Controls to the Friends Page, for example sort by Name/Status, Search and All/Request/Blocked Amount"
|
"description": "Adds extra Controls to the Friends Page, for example sort by Name/Status, Search and All/Request/Blocked Amount"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -266,6 +266,9 @@ module.exports = (_ => {
|
||||||
newChildren.push(this.createBadge(relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.PENDING_INCOMING], this.labels.incoming, relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.PENDING_INCOMING] > 0));
|
newChildren.push(this.createBadge(relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.PENDING_INCOMING], this.labels.incoming, relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.PENDING_INCOMING] > 0));
|
||||||
newChildren.push(this.createBadge(relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.PENDING_OUTGOING], this.labels.outgoing));
|
newChildren.push(this.createBadge(relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.PENDING_OUTGOING], this.labels.outgoing));
|
||||||
break;
|
break;
|
||||||
|
case BDFDB.DiscordConstants.FriendsSections.SUGGESTIONS:
|
||||||
|
newChildren.push(this.createBadge(BDFDB.LibraryModules.RelationshipSuggestionUtils.getSuggestionCount()));
|
||||||
|
break;
|
||||||
case BDFDB.DiscordConstants.FriendsSections.BLOCKED:
|
case BDFDB.DiscordConstants.FriendsSections.BLOCKED:
|
||||||
newChildren.push(this.createBadge(relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.BLOCKED]));
|
newChildren.push(this.createBadge(relationshipCount[BDFDB.DiscordConstants.RelationshipTypes.BLOCKED]));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue