This commit is contained in:
Mirco Wittrien 2023-10-30 00:14:29 +01:00
parent 183d1279d2
commit 08215f1b95
2 changed files with 5 additions and 4 deletions

View File

@ -2010,8 +2010,8 @@ module.exports = (_ => {
children: [
BDFDB.ReactUtils.createElement(Internal.LibraryComponents.GuildBadge, {
guild: config.guild,
size: BDFDB.StringUtils.cssValueToNumber(Internal.DiscordClassModules.TooltipGuild.iconSize),
className: BDFDB.disCN.tooltiprowicon
size: 16,
className: BDFDB.disCN.tooltiprowiconv2
}),
BDFDB.ReactUtils.createElement("span", {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.tooltipguildnametext),

View File

@ -12,7 +12,7 @@
"LibraryRequires": ["electron", "fs", "path", "process", "request"],
"DiscordObjects": {
"Channel": {"props": ["getRecipientId", "isManaged", "getGuildId"]},
"Guild": {"props": ["getIconURL", "getMaxEmojiSlots", "getRole"]},
"Guild": {"strings": ["hasCommunityInfoSubheader()", "publicUpdatesChannelId", ".GuildFeatures.NON_COMMUNITY_RAID_ALERTS"]},
"Invite": {"props": ["getExpiresAt", "isExpired"]},
"Message": {"props": ["getReaction", "isEdited", "getChannelId"]},
"Messages": {"props": ["jumpToMessage", "hasAfterCached", "forEach"]},
@ -319,7 +319,7 @@
"FormTextTypes": ["FormTextTypes"],
"FormTitle": ["FormTitle"]
}},
"GuildBadge": {"strings": ["VERIFIED_AND_PARTNERED", "renderBadge", "flowerStarClassName"]},
"GuildBadge": {"strings": ["foregroundDarkColor", "getBadgeCategory"]},
"GuildIcon": {"strings": ["SMOL", "badgeStrokeColor"], "funcStrings": ["render()"]},
"GuildTooltipMutedText": {"strings": [".muteConfig", "color:\"text-muted\""]},
"Heading": {"strings": ["data-excessive", ".defaultColor"]},
@ -3382,6 +3382,7 @@
"tooltiprowextra": ["BDFDB", "tooltipRowExtra"],
"tooltiprowguildname": ["TooltipGuild", "rowGuildName"],
"tooltiprowicon": ["TooltipGuild", "rowIcon"],
"tooltiprowiconv2": ["TooltipGuild", "rowIconV2"],
"tooltiptop": ["Tooltip", "tooltipTop"],
"tooltipyellow": ["Tooltip", "tooltipYellow"],
"typing": ["Typing", "typing"],