aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
825 stars 170 forks source link

Presence Image Eror #1312

Closed 0xviel closed 1 month ago

0xviel commented 1 month ago

Which package has the bugs?

The core library

Issue description

Screenshot_2024-10-08-21-22-44-850_com termux

Code sample

const { Client, RichPresence, CustomStatus, SpotifyRPC >
const client = new Client();

client.on('ready', async () => {
  console.log(`${client.user.username} is ready!`);

const getExtendURL = await RichPresence.getExternal(
    client,
    '1012137367471149186'
  );

 const status = new RichPresence(client)
    .setApplicationId('1012137367471149186')
    .setType('PLAYING')
    .setName('War Thunder')
    .setStartTimestamp(Date.now())
    .setAssetsLargeImage('1293213027390193755')
    .setAssetsLargeText('Idle')
    .setPlatform('ps5');

client.user.setPresence({ activities: status });
})

client.login(``)

Package version

3.4.0

Node.js version

22.5.1

Operating system

linux

Priority this issue should have

Low (slightly annoying)

Checklist

Additional Information

How to use large images

aiko-chan-ai commented 1 month ago

delete getExtendURL

0xviel commented 1 month ago

delete getExtendURL

the error disappears, but the playing status does not appear

aiko-chan-ai commented 1 month ago

image image skill issue

0xviel commented 1 month ago

image image skill issue

Thank you, it turns out I was wrong