Discord Connector Pack
★Trustedv1.0.0MIT✔Verified88by 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.
Quick Start
agentnode install discord-connector-packUsage
From packagefrom 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_TOKENDiscord bot token from the Discord Developer Portal (Bot > Token)
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
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
| Capability | Description |
|---|---|
discord_interact | Send messages, read channels, manage members and roles |
Operations: send_message, read_messages, list_members, assign_role, create_channel, delete_message
Requirements
| Variable | Required | Description |
|---|---|---|
DISCORD_BOT_TOKEN | Yes | Discord bot token from the Developer Portal |
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install discord-connector-packEnvironment Variables
DISCORD_BOT_TOKENrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode