#vencor badges
1 messages ยท Page 1 of 1 (latest)
isn't detectable if it goes through the api? maybe discord can ban you (probably not but idk)
no lmao
it doesnt go through the api
discord sends u the badge data through the api and we just edit it locally
maybe I don't know how to read, but idk thats what I understood
Is it possible to make this persistent? (vencord desktop) badges dissappeer when discord loads again :(
what?
oh are u talking about the %20?
that's discord's parser having brain damage
yes
cant fix that
no
%20 = " url encoded
discord's parser is stupid and does that
there i fixed it
try it yourself
send https://google.com/?a=b with a " at the end
Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.
lol that actually works
idk how to exactly trigger it but yeah
"https://google.com/?a ",{
post this without the space
@wraith kestrel Funny little interaction moment (broken photo = when clicking on profile on the members list, not broken = profile)
function addBadge(id, description, icon, link) {
const store = Vencord.Webpack.findStore("UserProfileStore");
const original = store.getUserProfile;
store.getUserProfile = function (userId) {
const userProfile = original.apply(this, arguments);
if (userProfile && userId === Vencord.Webpack.Common.UserStore.getCurrentUser()?.id) {
const badgeIndex = userProfile.badges.findIndex(badge => badge.id === id);
if (badgeIndex === -1) {
userProfile.badges.push({id, description, icon, link});
}
}
return userProfile;
};
}
addBadge("bug_hunter_level_2","Discord Bug Hunter", "848f79194d4be5ff5f81505cbd0ce1e6","https://support.discord.com/hc/en-us/articles/360046057772-Discord-Bugs")
a ridiculous alternative 
Vencord.Api.Badges.addBadge exists
๐ซ

Vencord.Api.Badges.addBadge({
id: "bug_hunter_level_2",
description: "Discord Bug Hunter",
icon: "848f79194d4be5ff5f81505cbd0ce1e6",
link: "https://support.discord.com/hc/en-us/articles/360046057772-Discord-Bugs",
shouldShow: ({ user }) => user.id === Vencord.Webpack.Common.UserStore.getCurrentUser().id
})
this can also add arbitrary images, onClick listeners, etc
thx :>
okay i find it
.
this is client side only right?
ofc
oki...
open devtools and paste the code in the console
I suppose
I've few questions.
How can I adjust the badges? I mean the badges I want in my profile and badges I don't want.
How can I get rid of this after pasting the code in the DevTools anyway?
Also how long will the badges last? will them go away if I restart my discord or there's an specific code to get rid of it or
they last unltil you restart your client probably, and I guess you can just remove parts of the code, because that lists the badges
but I don't know how to do that honestly
thanks
np i guess
Since I'm a dev too, I figured it out
Again thanks for your assistance.
One more thing though, how to make my own badge with a own icon? @wraith kestrel
can u stop pinging me
Where is dev tools?
how do I make permanent?
Is there a way to add the Pomelo badge to this script?
you already have it
Ik, this script removes all of my current badges though. Iโd like to have the badge after running the script as well.
changed it from r.badges = [] to r.badges.push(...[])
Sorry to bother you, but what do I put in the "(...[])"? If I don't add anything, my profile gets covered with tons of blank badges.
l
for me it doesnt work and just screams at me
show the error
uhh
disappears once u restart discord
join a guild-enabled server
"can u stop pinging me ๐ค "
vmute 1d
Done!
Muted 9w8a (@torn ocean) for 1 day
Update for this with new badges? Also the boost and nitro badges maxed out, also the orbs badges.
