A tool for sending messages to a discord channel using a bot. It extends the base Tool class and implements the _call method to perform the retrieve operation. Requires a bot token and channelId which can be set in the environment variables. The _call method takes the message to be sent as the input argument.

Hierarchy (view full)

Constructors

Properties

description: string = ...
name: string = "discord-send-messages"
botToken: string
channelId: string
client: Client<boolean>

Generated using TypeDoc