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

  • Tool
    • DiscordGetGuildsTool

Constructors

Properties

Constructors

Properties

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

Generated using TypeDoc