Mssjim / discord-server-mirror

Mirror discord server messages to another server
MIT License
19 stars 2 forks source link

Have you guys found a fix for large servers? #8

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi guys! Although, this issue might be semi or not related to this repo.

I wanted to ask, if you guys has found a fix for big servers? Recently, I was making a server-mirror similar to this. However, I found some issues where a large server, with 100K members and up can't be mirrored. I test it multiple times and nothing seems to work, no error logs either. Is this possible discord-api limitation? or some sort? I really have no idea. Almost all mirror-bot are like this, they don't work against large servers.

That's all, thanks.

Mssjim commented 2 years ago

This is an performance optimization of discord, message events on large servers are only listen if there some kind of mention to you, the only way to reverse this is through the definition of Intents, which (for now) is only possible through Bots.

I believe that in the future this rule will apply to all servers, regardless of their size. Discord still seems to be undecided on what will actually be limited, but at now, that's the last updates:

Message Content Privileged Intent FAQ

ghost commented 2 years ago

Late reply but thanks for your answer. Now I see why...