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
704 stars 145 forks source link

DiscordAPIError: Unknown Message #1108

Closed aotopilotteste closed 2 days ago

aotopilotteste commented 3 months ago

Which package has the bugs?

The core library

Issue description

image image

Code sample

const client = new Client({
        captchaSolver: function (captcha, UA) {
            return solver
                .hcaptcha(captcha.captcha_sitekey, 'discord.com', {
                    invisible: 1,
                    userAgent: UA,
                    data: captcha.captcha_rqdata,
                })
                .then(res => res.data);
        },
        http: {
            headers: { "x-super-properties": "ewogICJvcyI6ICJXaW5kb3dzIiwKICAiYnJvd3NlciI6ICJEaXNjb3JkIENsaWVudCIsCiAgInJlbGVhc2VfY2hhbm5lbCI6ICJjYW5hcnkiLAogICJjbGllbnRfdmVyc2lvbiI6ICIxLjAuNDkiLAogICJvc192ZXJzaW9uIjogIjEwLjAuMjI2MjEiLAogICJvc19hcmNoIjogIng2NCIsCiAgInN5c3RlbV9sb2NhbGUiOiAiZW4tVVMiLAogICJjbGllbnRfYnVpbGRfbnVtYmVyIjogIjE1MjQ1MCIsCiAgImNsaWVudF9ldmVudF9zb3VyY2UiOiBudWxsCn0=" }
        },
        captchaRetryLimit: 3,
    });

    client.on('ready', async () => {
        console.log('Ready!', client.user.tag);
        await client.acceptInvite(convite);
    });

Package version

discord.js-selfbot-v13@3.1.4

Node.js version

20.0.0

Operating system

Windows

Priority this issue should have

High (slightly annoying)

Checklist

Additional Information

No response

aiko-chan-ai commented 2 days ago

fixed