Skip to content

Gateway Intents #50

Open
Open
@kawaii

Description

@kawaii

When identifying to the gateway, you can specify an intents parameter which allows you to conditionally subscribe to pre-defined "intents", groups of events defined by Discord. If you do not specify a certain intent, you will not receive any of the gateway events that are batched into that group.

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

Speaking to another experienced library developer, their opinion was that if not specified the default should be to request all intents. It looks like intents use a similar bitwise system like permissions - so we can figure out the mask for "all" and provide some template masks in the documentation for common use cases (i.e. messages only).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions