🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@cf-agents/discord

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cf-agents/discord

A Cloudflare Agent integration package for Discord.

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

@cf-agents/discord

A Cloudflare Agent integration package for Discord.

Features

  • Send Messages: Post messages to channels.
  • Read History: Retrieve recent messages from a channel.

Installation

{
  "dependencies": {
    "@cf-agents/discord": "workspace:*"
  }
}

Usage

Initialize the tools with your Discord Bot Token.

import { createDiscordTools } from "@cf-agents/discord";

const discordTools = createDiscordTools({
  getToken: async () => ({
    token: "YOUR_BOT_TOKEN"
  })
});

FAQs

Package last updated on 03 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts