Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ValidUser): also display badges & banner #2235

Merged
merged 22 commits into from
May 3, 2024

Conversation

dolfies
Copy link
Contributor

@dolfies dolfies commented Mar 6, 2024

Summary

Fetching a user ignores the accent color, banner, and premium type given. We can also deduce nearly all badges from the flags (like it used to work :p, but means the badge text will always be English).

image

@dolfies dolfies changed the base branch from main to dev March 15, 2024 18:35
src/plugins/validUser/index.tsx Outdated Show resolved Hide resolved
src/plugins/validUser/index.tsx Outdated Show resolved Hide resolved
src/plugins/validUser/index.tsx Show resolved Hide resolved
Copy link
Owner

@Vendicated Vendicated left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty cool!

src/plugins/validUser/index.tsx Show resolved Hide resolved
src/plugins/validUser/index.tsx Outdated Show resolved Hide resolved
@Vendicated
Copy link
Owner

awesome, seems to work great! thank u mister alien 👽 💚

@Vendicated Vendicated changed the title feat(ValidUser): Cache profile fields when fetching users feat(ValidUser): also display badges & banner May 3, 2024
@Vendicated Vendicated merged commit a6c09bc into Vendicated:dev May 3, 2024
1 check passed
mantikafasi pushed a commit to StupidityDB/VencordPlus that referenced this pull request May 5, 2024
* ResurrectHome: Fix patch

* RoleColorEverywhere: Actually fix patch

* NoTrack: Option to keep analytics, improve patches

* improve contributor modal & badge

* fix FriendsSince

* refactor(Webpack): more reliable patching (Vendicated#2237)

* messageLogger: fix niche bug ignoring edits when content is same (Vendicated#2403)

* feat(plugin): PauseInvitesForever (Vendicated#2372)

Co-authored-by: V <vendicated@riseup.net>

* MoreUserTags: Remove old workaround; MessageClickActions: Move finds outside of start

* fix sort conflict of ImplicitRelationships & SortFriendRequests (Vendicated#2408)

* ReviewDB: add more context menu shortcuts to view reviews (Vendicated#2382)

Co-authored-by: V <vendicated@riseup.net>

* feat(USRBG): update to new API (Vendicated#2388)

* MsgClickActions: control ping via shift & NoReplyMention plugin (Vendicated#2390)

Co-authored-by: V <vendicated@riseup.net>

* fix badges with custom component

* feat(plugin): ImageLink (Vendicated#2297)

* Test Patches: Faster chromium setup; Update action versions (Vendicated#2412)

* Test Patches: Remove pnpm add puppeteer as it's already in deps

* SecretRingToneEnabler: Fix patch

* feat(ValidUser): also display badges & banner (Vendicated#2235)

Co-authored-by: V <vendicated@riseup.net>

* NewGuildSettings: add push notifs, highlights & events (Vendicated#2413)

Co-authored-by: V <vendicated@riseup.net>

* fix overflow when having two rows of badges

* Future proof FakeNitro and Experiments to not brick Discord startup

* bump to v1.8.1

---------

Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com>
Co-authored-by: Vendicated <vendicated@riseup.net>
Co-authored-by: HAHALOSAH <67280050+HAHALOSAH@users.noreply.github.com>
Co-authored-by: dolfies <jeyalfie47@gmail.com>
Co-authored-by: Sqaaakoi <sqaaakoi-git@sqaaakoi.xyz>
Co-authored-by: katlyn <17418611+katlyn@users.noreply.github.com>
Co-authored-by: sunnie <78964224+sunnniee@users.noreply.github.com>
Co-authored-by: Kyuuhachi <1547062+Kyuuhachi@users.noreply.github.com>
Co-authored-by: Gabriel Ruiz Pérez <57387907+GabiRP@users.noreply.github.com>
LunaisLazier pushed a commit to LunaisLazier/Mooncord that referenced this pull request May 7, 2024
ImLvna pushed a commit to ImLvna/Vencord that referenced this pull request May 27, 2024
Autumnlight02 pushed a commit to Autumnlight02/Vencord that referenced this pull request Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants