Documentation
¶
Overview ¶
Package discord is the Discord adapter for botbooter. It connects via the Gateway and implements core.Adapter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New creates a Discord bot from a bot token. It returns an error if the token cannot be used to construct a session.
The message-content intent is enabled so handlers receive message text. That intent is privileged and must also be enabled for the application in the Discord developer portal, otherwise Discord delivers empty message content.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.