Discord Connector Pack

Trustedv1.0.0MITVerified88

by AgentNode · published 22 days 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

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

Verification

high confidence88/100✔ Verified
smokeReturned valid result
+25/25
testsAuto-generated tests only
+8/15
importAll tools imported successfully
+15/15
installInstalled in 1.7s
+15/15
contractAll contract checks passed
+10/10
warningsNo warnings
0/0
determinismOutput consistency check
+5/5
reliability3/3 runs passed
+10/10

Package installs and imports correctly. runtime checks passed.

install1.7s
import343ms
smoke211ms
tests1.9s

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

Python 3.12.3ffmpegpopplertesseractuv

Last verified 18d 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

Discord Connector Pack

Send messages, manage servers, and interact with Discord channels. Full Discord API integration for bots and automated workflows.

Quick Start

agentnode install discord-connector-pack
from discord_connector_pack.tool import run

result = run(
    action="discord_interact",
    operation="send_message",
    channel_id="1098234567890123456",
    content="Hello from AgentNode!"
)

Usage

Send an Embed Message

result = run(
    action="discord_interact",
    operation="send_message",
    channel_id="1098234567890123456",
    embed={"title": "Alert", "description": "CPU usage exceeded 90%", "color": 15158332}
)

List Server Members

result = run(
    action="discord_interact",
    operation="list_members",
    guild_id="9876543210987654321",
    limit=100
)
for member in result["members"]:
    print(f"{member['username']}#{member['discriminator']}")

Manage Roles

result = run(
    action="discord_interact",
    operation="assign_role",
    guild_id="9876543210987654321",
    user_id="1122334455667788",
    role_id="9988776655443322"
)

API Reference

CapabilityDescription
discord_interactSend messages, read channels, manage members and roles

Operations: send_message, read_messages, list_members, assign_role, create_channel, delete_message

Requirements

VariableRequiredDescription
DISCORD_BOT_TOKENYesDiscord bot token from the Developer Portal

License

MIT

Version History

Capabilities

discord_integrationdiscord_interacttool

Permissions

This package declares the following access levels. Review before installing.

Networkunrestricted
Filesystemnone
Code Executionnone
Data Accessconnected_accounts
User Approvalonce
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