seabird-discord-backend
Dependencies
seabird-core
Configuration
Environment Variables
Common settings:
SEABIRD_ID(optional, defaults toseabird) - internal "id" of the backend, used for identification purposes. This must be unique between backends. It may be dropped or ignored in future versions of the seabird APIs.SEABIRD_HOST(required) - this is the URL of theseabird-coreinstance. Most users should usehttps://core.seabird.chatSEABIRD_TOKEN(required) - the seabird token
Discord-specific settings
DISCORD_TOKEN(required) - Both an application and a bot user must be set up in Discord, and connected to the relevant Discord server by an admin on that server. The correct OAuth URL has been lost to time, but make sure priviledged intents (presence, server members, and message content) are enabled. Note that tokens must be prefixed withBotin order for Discord to use them as a bot token.DISCORD_COMMAND_PREFIX(optional, defaults to!)DISCORD_CHANNEL_MAP(optional, defaults to empty) - a comma separated list of Discord voice channels, followed by a:and then a channel which should be notified when someone joins.
Known Issues
- There is not true Discord "command" support, so all commands need to be
prefixed by the
DISCORD_COMMAND_PREFIXsetting.