Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
wont-stream committed Nov 20, 2024
1 parent a6e1715 commit ae0c077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/rpc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function onLoad() {
if (msg.activity?.assets?.large_image.startsWith("https://")) {
msg.activity.assets.large_image = `https://images-ext-1.discordapp.net/external/${msg.activity.assets.large_image.replace("https://", "https/")}?format=webp&width=300&height=300`;
} else {
if (msg.activity?.assets?.large_image)fe
if (msg.activity?.assets?.large_image)
msg.activity.assets.large_image = await fetchAssetId(
msg.activity.application_id,
msg.activity.assets.large_image,
Expand Down

0 comments on commit ae0c077

Please sign in to comment.