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

Having issues displaying large_image and large_text #366

Open
12Echo opened this issue Jun 18, 2022 · 1 comment
Open

Having issues displaying large_image and large_text #366

12Echo opened this issue Jun 18, 2022 · 1 comment

Comments

@12Echo
Copy link

12Echo commented Jun 18, 2022

I made a script that displays my ram & cpu usage (why not), but can't get the large_image and large_text to show for some reason.

I've ensured it's added to my app under Rich Presence>Art assets

This is my code for the presence:

createInter(async () => {
const CPU = await osu.cpu.usage();
const MEM = await osu.mem.info();
await client.updatePresence({
details: CPU: ${CPU}%,
state: RAM: ${Math.round(MEM.usedMemMb)}/${closestpw2(MEM.totalMemMb)}MB,
assets : {
large_image : "saitama",
large_text : "Do you know da wae?"
},
buttons: [{ label: 'FREE NITRO', url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' }, {label: 'Social Links', url: 'https://linktr.ee/beatthegamevids'}],
});
}, 5000);

but it just shows up like this: http://ss.jimmyfalcone.com/p50kfai9.png

I've been trying to get it to work, but can't seem to.

@SlySven
Copy link

SlySven commented Aug 9, 2023

The large (and small) images have to come from the limited (150 IIRC) assets (images) previously uploaded to the Guild that has the Application Id in use - which can only be done by the Guild Owner - and they get cached so changing them if you do happen to own the Guild does not update them immediately (IIRC it can take some hours for changes to replicated across the Discord network)...

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

No branches or pull requests

2 participants