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
775 stars 165 forks source link

Threads are not properly being detected as events, MessageCreate not being called either in thread #1099

Closed xL0b0 closed 3 months ago

xL0b0 commented 6 months ago

Which package has the bugs?

The core library

Issue description

So, to explain the scenario.

When I'm listening to the event of Events.ThreadCreate, it is triggered when an OP of the thread sends a message to it, the MessageCreate event is not triggered. The account I'm logged into has thread view permissions though. When other accounts writing into the thread, no message event is being logged. When I'm writing a message from the account I'm logged into, then all messages suddenly log when I'm logging the message.content in the MessageCreate event.

Any idea how to read the thread messages right away, without having to write first into the thread? As on some servers, I don't have any thread writing permissions but would like to see when a new message comes in.

Code sample

No response

Package version

3.1.4

Node.js version

v20.11.1

Operating system

Mac / Linux

Priority this issue should have

Medium (should be fixed soon)

Checklist

Additional Information

No response

aiko-chan-ai commented 3 months ago

v3.2.0 🎉