stuff
This commit is contained in:
parent
3fb8cb83dc
commit
f36873cf15
|
@ -1186,7 +1186,6 @@
|
|||
"splashBackground": "splashBackground-1FRCko",
|
||||
"stopAnimations": "stop-animations",
|
||||
"subtext": "subtext-2HDqJ7",
|
||||
"themeAmoled": "theme-amoled",
|
||||
"themeDark": "theme-dark",
|
||||
"themeLight": "theme-light",
|
||||
"themeUndefined": "theme-undefined",
|
||||
|
@ -1450,6 +1449,7 @@
|
|||
"UserPopoutBody": {"props": ["rolesList", "note"]},
|
||||
"UserPopoutFooter": {"props": ["wumpusTooltip", "footer"]},
|
||||
"UserPopoutHeader": {"props": ["headerTop", "profileBadges", "aboutMeGuildIcon"]},
|
||||
"UserPopoutUsernameSection": {"props": ["userTagNoNickname", "nickname", "headerBotTag"]},
|
||||
"UserProfile": {"props": ["root", "tabBarContainer"]},
|
||||
"UserProfileHeader": {"props": ["header", "additionalActionsIcon"]},
|
||||
"UserProfileInfoSection": {"props": ["userInfoSection", "connectedAccounts"]},
|
||||
|
@ -3233,6 +3233,14 @@
|
|||
"userpopoutroleremovebutton": ["Role", "roleRemoveButton"],
|
||||
"userpopoutroles": ["Role", "root"],
|
||||
"userpopoutsetidentitylink": ["UserPopout", "setIdentityLink"],
|
||||
"userpopoutusernamebottag": ["UserPopoutUsernameSection", "headerBotTag"],
|
||||
"userpopoutusernamebottagwithnickname": ["UserPopoutUsernameSection", "headerBotTagWithNickname"],
|
||||
"userpopoutusernamenickname": ["UserPopoutUsernameSection", "nickname"],
|
||||
"userpopoutusernametagnousername": ["UserPopoutUsernameSection", "userTagUsernameNoNickname"],
|
||||
"userpopoutusernametagusername": ["UserPopoutUsernameSection", "userTagUsernameBase"],
|
||||
"userpopoutusernametagnonickname": ["UserPopoutUsernameSection", "userTagNoNickname"],
|
||||
"userpopoutusernametagwithnickname": ["UserPopoutUsernameSection", "userTagWithNickname"],
|
||||
"userpopoutusernametext": ["UserPopoutUsernameSection", "userText"],
|
||||
"userprofile": ["UserProfile", "root"],
|
||||
"userprofilebody": ["UserProfile", "body"],
|
||||
"userprofilebottag": ["UserProfileHeader", "botTag"],
|
||||
|
@ -3316,8 +3324,18 @@
|
|||
"webhookcardheader": ["WebhookCard", "header"]
|
||||
},
|
||||
"myId": "278543574059057154",
|
||||
"myGuildId": "410787888507256842",
|
||||
"mySolana": "8R96iUjP61Z6p6YHrcLX5QccZ93yk3rE6rtKBoupNExz",
|
||||
"myEthereum": "0xaD7C90Ed43c0021d855970B9Ed6282A1922eECEb",
|
||||
"authorIdAttribute": "data-author-id",
|
||||
"authorFriendAttribute": "data-is-author-friend",
|
||||
"authorSelfAttribute": "data-is-author-self",
|
||||
"userIdAttribute": "data-user-id",
|
||||
"userBackgroundsProperties": {
|
||||
"background": "--user-background",
|
||||
"orientation": "--user-popout-position"
|
||||
},
|
||||
"userBackgroundsUrl": "https://discord-custom-covers.github.io/usrbg/dist/usrbg.json",
|
||||
"Languages": {
|
||||
"$discord": {"name":"Discord (English)", "id":"en", "ownlang":"English"},
|
||||
"af": {"name":"Afrikaans", "id":"af", "ownlang":"Afrikaans"},
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name CreationDate
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.4.6
|
||||
* @version 1.4.7
|
||||
* @description Displays the Creation Date of an Account in the UserPopout and UserModal
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -17,13 +17,8 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "CreationDate",
|
||||
"author": "DevilBro",
|
||||
"version": "1.4.6",
|
||||
"version": "1.4.7",
|
||||
"description": "Displays the Creation Date of an Account in the UserPopout and UserModal"
|
||||
},
|
||||
"changeLog": {
|
||||
"fixed": {
|
||||
"User Popout": "Fixing Stuff for the User Popout Update, thanks Discord"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -82,6 +77,7 @@ module.exports = (_ => {
|
|||
|
||||
this.patchedModules = {
|
||||
after: {
|
||||
UsernameSection: "default",
|
||||
UserPopoutInfo: "UserPopoutInfo",
|
||||
UserProfileModalHeader: "default"
|
||||
}
|
||||
|
@ -153,6 +149,13 @@ module.exports = (_ => {
|
|||
BDFDB.PatchUtils.forceAllUpdates(this);
|
||||
}
|
||||
}
|
||||
|
||||
processUsernameSection (e) {
|
||||
if (e.instance.props.user && this.settings.places.userPopout) {
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: ["CopiableField", "ColoredFluxTag"]});
|
||||
if (index > -1) this.injectDate(children, index + 1, e.instance.props.user);
|
||||
}
|
||||
}
|
||||
|
||||
processUserPopoutInfo (e) {
|
||||
if (e.instance.props.user && this.settings.places.userPopout) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name JoinedAtDate
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.3.3
|
||||
* @version 1.3.4
|
||||
* @description Displays the Joined At Date of a Member in the UserPopout and UserModal
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -17,13 +17,8 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "JoinedAtDate",
|
||||
"author": "DevilBro",
|
||||
"version": "1.3.3",
|
||||
"version": "1.3.4",
|
||||
"description": "Displays the Joined At Date of a Member in the UserPopout and UserModal"
|
||||
},
|
||||
"changeLog": {
|
||||
"fixed": {
|
||||
"User Popout": "No Longer requires you to open the Popout twice"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -91,7 +86,9 @@ module.exports = (_ => {
|
|||
|
||||
this.patchedModules = {
|
||||
after: {
|
||||
UserPopoutExperimentWrapper: "default",
|
||||
UserPopoutContainer: "type",
|
||||
UsernameSection: "default",
|
||||
UserPopoutInfo: "UserPopoutInfo",
|
||||
UserProfileModal: "default",
|
||||
UserProfileModalHeader: "default"
|
||||
|
@ -164,10 +161,21 @@ module.exports = (_ => {
|
|||
}
|
||||
}
|
||||
|
||||
processUserPopoutExperimentWrapper (e) {
|
||||
currentPopout = e.instance;
|
||||
}
|
||||
|
||||
processUserPopoutContainer (e) {
|
||||
currentPopout = e.instance;
|
||||
}
|
||||
|
||||
processUsernameSection (e) {
|
||||
if (currentPopout && e.instance.props.user && this.settings.places.userPopout) {
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: ["CopiableField", "ColoredFluxTag"]});
|
||||
if (index > -1) this.injectDate(children, index + 1, e.instance.props.user, currentPopout.props.guildId);
|
||||
}
|
||||
}
|
||||
|
||||
processUserPopoutInfo (e) {
|
||||
if (currentPopout && e.instance.props.user && this.settings.places.userPopout) {
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: ["DiscordTag", "ColoredFluxTag"]});
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @name LastMessageDate
|
||||
* @author DevilBro
|
||||
* @authorId 278543574059057154
|
||||
* @version 1.3.0
|
||||
* @version 1.3.1
|
||||
* @description Displays the Last Message Date of a Member for the current Server/DM in the UserPopout and UserModal
|
||||
* @invite Jx3TjNS
|
||||
* @donate https://www.paypal.me/MircoWittrien
|
||||
|
@ -17,7 +17,7 @@ module.exports = (_ => {
|
|||
"info": {
|
||||
"name": "LastMessageDate",
|
||||
"author": "DevilBro",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"description": "Displays the Last Message Date of a Member for the current Server/DM in the UserPopout and UserModal"
|
||||
}
|
||||
};
|
||||
|
@ -86,7 +86,9 @@ module.exports = (_ => {
|
|||
|
||||
this.patchedModules = {
|
||||
after: {
|
||||
UserPopoutExperimentWrapper: "default",
|
||||
UserPopoutContainer: "type",
|
||||
UsernameSection: "default",
|
||||
UserPopoutInfo: "UserPopoutInfo",
|
||||
UserProfileModal: "default",
|
||||
UserProfileModalHeader: "default"
|
||||
|
@ -169,10 +171,21 @@ module.exports = (_ => {
|
|||
}
|
||||
}
|
||||
|
||||
processUserPopoutExperimentWrapper (e) {
|
||||
currentPopout = e.instance;
|
||||
}
|
||||
|
||||
processUserPopoutContainer (e) {
|
||||
currentPopout = e.instance;
|
||||
}
|
||||
|
||||
processUsernameSection (e) {
|
||||
if (currentPopout && e.instance.props.user && this.settings.places.userPopout) {
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: ["CopiableField", "ColoredFluxTag"]});
|
||||
if (index > -1) this.injectDate(children, index + 1, e.instance.props.user, currentPopout.props.guildId);
|
||||
}
|
||||
}
|
||||
|
||||
processUserPopoutInfo (e) {
|
||||
if (currentPopout && e.instance.props.user && this.settings.places.userPopout) {
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: ["DiscordTag", "ColoredFluxTag"]});
|
||||
|
|
Loading…
Reference in New Issue