@seedcord/gateway
v0.6.0
Published
Gateway transport for seedcord bots, built on discord.js
Maintainers
Readme
About
@seedcord/gateway runs a seedcord bot over a websocket connection, built on discord.js. A gateway connection carries message, member, voice, and reaction events. Discord never posts those to an interactions endpoint. Pick this transport when the bot reacts to any of them.
Until v1.0.0, minor versions can break.
Installation
pnpm add @seedcord/gateway discord.jsdiscord.js, envapt, and typescript are peer dependencies. pnpm create seedcord sets all of it up.
What it adds over the core
Everything in @seedcord/core, plus the parts that use a live connection:
Seedcord, the class that connects and holds the discord.js client- event subscribers, through
SubscriberandWebhookLog getConfirmation, which waits on a button press and returns the answer- pagination sources bound to the gateway
