Closed ToXic6667 closed 6 months ago
WebEmbed x Shorten API
so, i started to use the package but, the website Webembed work fine, but, when i do message.channel.send({ embed: [myem]}); it return an error, this error:
DiscordAPIError: Cannot send an empty message at RequestHandler.execute (C:\Users\Desktopp\Desktop\Ashleyselfbot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:390:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async RequestHandler.push (C:\Users\Desktopp\Desktop\Ashleyselfbot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:62:14) at async TextChannel.send (C:\Users\Desktopp\Desktop\Ashleyselfbot\node_modules\discord.js-selfbot-v13\src\structures\interfaces\TextBasedChannel.js:184:15) { method: 'post', path: '/channels/1197936111943696437/messages', code: 50006, httpStatus: 400, requestData: { json: { activity: undefined, content: undefined, tts: false, nonce: undefined, embeds: undefined, components: undefined, username: undefined, avatar_url: undefined, allowed_mentions: undefined, flags: undefined, message_reference: undefined, attachments: [], sticker_ids: undefined, thread_name: undefined }, files: [], headers: undefined }, retries: 0, captcha: null }
Node.js v21.6.0
const WhoamiEM = new WebEmbed({ shorten: true, hidden: false, baseURL: '', shortenAPI: '', }) .setTitle("") .setDescription(``) .setImage("") client.on('messageCreate', async message =>{ if (message.content.startsWith(config.prefix + "whoami")) { console.log(WhoamiEM) message.channel.send({ embed: [WhoamiEM]}); } });
discord.js-selfbot-v13@3.0.2
21.6.0
Windows 11
Medium (should be fixed soon)
No response
https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/examples/Embed.js
Owner
thanks you, but, why the color is not showing
omg 😭
fixed (oembed + color)
Which package has the bugs?
WebEmbed x Shorten API
Issue description
so, i started to use the package but, the website Webembed work fine, but, when i do message.channel.send({ embed: [myem]}); it return an error, this error:
DiscordAPIError: Cannot send an empty message at RequestHandler.execute (C:\Users\Desktopp\Desktop\Ashleyselfbot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:390:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async RequestHandler.push (C:\Users\Desktopp\Desktop\Ashleyselfbot\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:62:14) at async TextChannel.send (C:\Users\Desktopp\Desktop\Ashleyselfbot\node_modules\discord.js-selfbot-v13\src\structures\interfaces\TextBasedChannel.js:184:15) { method: 'post', path: '/channels/1197936111943696437/messages', code: 50006, httpStatus: 400, requestData: { json: { activity: undefined, content: undefined, tts: false, nonce: undefined, embeds: undefined, components: undefined, username: undefined, avatar_url: undefined, allowed_mentions: undefined, flags: undefined, message_reference: undefined, attachments: [], sticker_ids: undefined, thread_name: undefined }, files: [], headers: undefined }, retries: 0, captcha: null }
Node.js v21.6.0
Code sample
Package version
discord.js-selfbot-v13@3.0.2
Node.js version
21.6.0
Operating system
Windows 11
Priority this issue should have
Medium (should be fixed soon)
Checklist
Additional Information
No response