langchain.js
    Preparing search index...

    A tool for retrieving all servers a bot is a member of. It extends the base Tool class and implements the _call method to perform the retrieve operation. Requires a bot token which can be set in the environment variables.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • Optionalfields: DiscordToolParams

      Returns DiscordGetGuildsTool

    Properties

    botToken: string
    client: Client
    description: string = ...
    name: string = "discord-get-guilds"

    Methods

    • Returns string