💬
discord-gateway
asterbot
Talk to asterbot on Discord.
v0.1.1
Public
Add this component alongside asterai:discord and you will be able to talk to your asterbot through any Discord server that you share in common.
Make sure that the environment variables required by asterai:discord are set:
DISCORD_INCOMING_HANDLER_COMPONENTS="asterbot:discord-gateway"
DISCORD_TOKEN="secret"
Interface
Exports
asterai:discord/incoming-handler@0.1.0
on-message(message: message)
Imports
asterbot:types/agent@1.0.0
asterai:discord/types@0.1.0
asterai:discord/api@0.1.0
wasi:io/error@0.2.6
wasi:io/streams@0.2.6
wasi:cli/environment@0.2.6
wasi:cli/exit@0.2.6
wasi:cli/stdout@0.2.6
wasi:cli/stderr@0.2.6