Skip to main content

Discord Connector Pack

TrustedSandbox optionalv1.0.0MITVerified80Connector

by AgentNode · published 6 months ago · toolpack

Send messages, manage servers, and interact with Discord channels.

Post messages, read channel history, manage roles, and respond to Discord events using discord.py.

langchaincrewaigeneric

Quick Start

bash
agentnode install discord-connector-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from discord_connector_pack.tool import run

result = run(
    action="discord_interact",
    operation="send_message",
    channel_id="1098234567890123456",
    content="**Deployment Complete** :rocket:\n\nVersion `2.4.1` deployed to production.\n- 3 bug fixes\n- 1 new feature (dark mode)\n- Response time improved by 12%",
    embed={
        "title": "Build Details",
        "color": 3066993,
        "fields": [
            {"name": "Branch", "value": "main", "inline": True},
            {"name": "Commit", "value": "`a3f8b2c`", "inline": True}
        ]
    }
)

print(f"Message sent: {result['message_id']}")

Environment Variables

DISCORD_BOT_TOKEN

Discord bot token from the Discord Developer Portal (Bot > Token)

required

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

high confidence80/100✔ Verified
smokeReturned valid result
+25/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 1.5s
+15/15
contractAll contract checks passed
+10/10
determinismConsistent output across runs (normalized)
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.5s
import228ms
smoke157ms
tests1.2s

This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 15d ago· Runner v2.0.0

Use this when you need to...

  • Send automated deployment notifications to a Discord channel
  • Monitor server channels for support keywords and flag messages
  • Post scheduled announcements across multiple Discord servers
  • Manage role assignments based on user reactions
  • Retrieve and analyze message history from specific channels

README

Version History

Capabilities

discord_integrationdiscord_interacttool

Connector

discordconnectortoken

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networkunrestricted
Filesystemnone
Code Executionnone
Data Accessconnected_accounts
User Approvalonce

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install discord-connector-pack

Environment Variables

DISCORD_BOT_TOKENrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointdiscord_connector_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode