V3L0C1T13S / reflectcord

REST and Websocket compatibility layer for Discord->Revolt
GNU Affero General Public License v3.0
45 stars 2 forks source link

Gateway intents #190

Open V3L0C1T13S opened 1 year ago

V3L0C1T13S commented 1 year ago

Intents can be incredibly helpful for efficiency, and in the future could be used to ignore a lot of conversion for bots that don't need certain information anyway.

This issue focuses purely on making intents functional, and not on any internal optimizations (for now). Also, for future reference, Revolt plans on implementing event filters in the future, similar to intents, which we may want to use when available.

Privileged events on version < 8 will be enabled by default, unlike normal Discord where they need to be manually enabled on the dev portal, due to Revolt lacking native equivalents.

https://discord.com/developers/docs/topics/gateway#gateway-intents