← 返回 Skills 市场
thebigbrainchad

discord admin

作者 AYMANE SALIH AIT BRAHIM · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1360
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install discordadmin
功能描述
Complete A-Z Discord server administration. Channel/role/member management, AutoMod, webhooks, templates, audit logs, scheduled events, threads, and full server control via CLI.
使用说明 (SKILL.md)

Discord Server Admin (Pro)

A complete, enterprise-grade Discord server management skill. Everything a real server admin needs — from basic moderation to AutoMod, webhooks, templates, audit logs, and beyond.


🚀 Quick Start

# Set your bot token
export DISCORD_BOT_TOKEN="your-bot-token"

# Make script executable
chmod +x discord-admin.sh

# View all commands
./discord-admin.sh --help

📋 Command Reference

1. Server Intelligence

# Full server overview
./discord-admin.sh server-info \x3CguildId>

# Server vanity URL (if enabled)
./discord-admin.sh vanity-get \x3CguildId>

# Set vanity URL (requires DISCOVERABLE + boosts)
./discord-admin.sh vanity-set \x3CguildId> \x3Ccode>

# Server template operations
./discord-admin.sh template-list \x3CguildId>         # List templates
./discord-admin.sh template-create \x3CguildId> \x3Cname>  # Create template
./discord-admin.sh template-use \x3Ccode>             # Create server from template

2. Channel Management (All Types)

# List ALL channels (organized by category)
./discord-admin.sh channel-list \x3CguildId>

# Create channels
./discord-admin.sh channel-create \x3CguildId> \x3Cname> text                    # Text
./discord-admin.sh channel-create \x3CguildId> \x3Cname> voice                    # Voice
./discord-admin.sh channel-create \x3CguildId> \x3Cname> category                # Category
./discord-admin.sh channel-create \x3CguildId> \x3Cname> forum                   # Forum
./discord-admin.sh channel-create \x3CguildId> \x3Cname> stage                   # Stage
./discord-admin.sh channel-create \x3CguildId> \x3Cname> announcements           # Announcement

# Edit channel (all settings)
./discord-admin.sh channel-edit \x3CguildId> \x3CchannelId> name:\x3CnewName> topic:\x3Ctopic>
./discord-admin.sh channel-edit \x3CguildId> \x3CchannelId> nsfw:true rateLimit:60

# Channel permissions
./discord-admin.sh channel-perms \x3CguildId> \x3CchannelId>                      # View perms
./discord-admin.sh channel-perms-set \x3CguildId> \x3CchannelId> \x3CroleId> allow:\x3Cperms> deny:\x3Cperms>
./discord-admin.sh channel-perms-overwrite \x3CguildId> \x3CchannelId> \x3CtargetId> \x3Ctype:role|user> allow:\x3Cperms> deny:\x3Cperms>

# Delete channel
./discord-admin.sh channel-delete \x3CguildId> \x3CchannelId>

# Bulk operations
./discord-admin.sh channel-prune \x3CguildId> \x3Cdays:7>                         # Delete unused channels

3. Role Management (Advanced)

# List all roles with hierarchy
./discord-admin.sh role-list \x3CguildId>

# Create role with full permissions
./discord-admin.sh role-create \x3CguildId> \x3Cname> color:#FF5500 permissions:ADMINISTRATOR
./discord-admin.sh role-create \x3CguildId> \x3Cname> permissions:MANAGE_CHANNELS,KICK_MEMBERS,BAN_MEMBERS

# Edit role
./discord-admin.sh role-edit \x3CguildId> \x3CroleId> name:\x3Cname> color:\x3Chex>
./discord-admin.sh role-edit \x3CguildId> \x3CroleId> hoist:true mentionable:true
./discord-admin.sh role-edit \x3CguildId> \x3CroleId> permissions:+MANAGE_MESSAGES,-ADMINISTRATOR

# Position management (hierarchy matters!)
./discord-admin.sh role-position \x3CguildId> \x3CroleId> \x3CnewPosition>

# Delete role
./discord-admin.sh role-delete \x3CguildId> \x3CroleId>

# Bulk role operations
./discord-admin.sh role-assign-bulk \x3CguildId> \x3CroleId> \x3CuserId1,userId2,...>
./discord-admin.sh role-remove-bulk \x3CguildId> \x3CroleId> \x3CuserId1,userId2,...>

# Role permission constants (comma-separated):
# ADMINISTRATOR, VIEW_AUDIT_LOG, VIEW_GUILD_INSIGHTS, MANAGE_GUILD, MANAGE_ROLES, MANAGE_CHANNELS, KICK_MEMBERS, BAN_MEMBERS, CREATE_INSTANT_INVITE, CHANGE_NICKNAME, MANAGE_NICKNAMES, MANAGE_EMOJIS, MANAGE_WEBHOOKS, MANAGE_GUILD_EXPRESSIONS, USE_APPLICATION_COMMANDS, MANAGE_EVENTS, MODERATE_MEMBERS

4. Member Management

# Member info
./discord-admin.sh member-info \x3CguildId> \x3CuserId>

# Nickname management
./discord-admin.sh member-nick \x3CguildId> \x3CuserId> \x3Cnickname>
./discord-admin.sh member-nick-reset \x3CguildId> \x3CuserId>

# Timeout (mute) - Discord native
./discord-admin.sh member-timeout \x3CguildId> \x3CuserId> \x3Cduration:60s|1h|1d|7d>
./discord-admin.sh member-untimeout \x3CguildId> \x3CuserId>

# Kick
./discord-admin.sh member-kick \x3CguildId> \x3CuserId> [reason]

# Ban (with options)
./discord-admin.sh member-ban \x3CguildId> \x3CuserId> [reason] [deleteMessageDays:0-7]
./discord-admin.sh member-ban-temp \x3CguildId> \x3CuserId> \x3Cduration:7d> [reason]

# Unban
./discord-admin.sh member-unban \x3CguildId> \x3CuserId> [reason]

# Bulk moderation
./discord-admin.sh ban-list \x3CguildId>                                   # List all bans
./discord-admin.sh kick-bulk \x3CguildId> \x3CuserId1,userId2,...> [reason]
./discord-admin.sh ban-bulk \x3CguildId> \x3CuserId1,userId2,...> [reason]

# Avatar management
./discord-admin.sh member-avatar-set \x3CguildId> \x3CuserId> \x3CimageUrl>

5. AutoMod (Pro Feature)

# List AutoMod rules
./discord-admin.sh automod-list \x3CguildId>

# Create AutoMod rule
./discord-admin.sh automod-create \x3CguildId> \x3Cname> \
    keyword:badword,spam,scam \
    presets:SLUR,SEXUAL,PROFANITY \
    actions:BLOCK_MESSAGE,ALERT, timeout:60s

# Keyword filters
./discord-admin.sh automod-keyword \x3CguildId> \x3CruleName> add:badword,offensive
./discord-admin.sh automod-keyword \x3CguildId> \x3CruleName> remove:badword
./discord-admin.sh automod-keyword \x3CguildId> \x3CruleName> clear:true

# Preset filters (Discord-provided)
./discord-admin.sh automod-preset \x3CguildId> \x3CruleName> SLUR,SEXUAL,PROFANITY,VIOLENCE

# Regex patterns
./discord-admin.sh automod-regex \x3CguildId> \x3CruleName> pattern:'(?i)(https?://\S+)'

# Block lists
./discord-admin.sh automod-blocklist \x3CguildId> \x3CruleName> add:custom_blocklist_name

# Actions configuration
./discord-admin.sh automod-actions \x3CguildId> \x3CruleName> \
    ALERT \
    BLOCK_MESSAGE \
    timeout:60s \
    timeoutDuration:300 \
    channelId:123456789

# Edit/delete rules
./discord-admin.sh automod-edit \x3CguildId> \x3CruleId> enabled:false
./discord-admin.sh automod-delete \x3CguildId> \x3CruleId>

6. Message Management

# Send messages
./discord-admin.sh msg-send \x3CchannelId> \x3Ccontent>
./discord-admin.sh msg-embed \x3CchannelId> '{"title":"Hello","description":"World","color":65280}'

# Send with attachments
./discord-admin.sh msg-send-file \x3CchannelId> \x3CfilePath> [message]

# Edit messages
./discord-admin.sh msg-edit \x3CchannelId> \x3CmessageId> \x3CnewContent>

# Delete messages
./discord-admin.sh msg-delete \x3CchannelId> \x3CmessageId>
./discord-admin.sh msg-delete-bulk \x3CchannelId> \x3CmessageId1,messageId2,...>
./discord-admin.sh msg-delete-range \x3CchannelId> \x3CbeforeMessageId> [limit:100]

# Bulk delete (14-day limit)
./discord-admin.sh msg-prune \x3CchannelId> [days:7]

# Search messages
./discord-admin.sh msg-search \x3CguildId> \x3Cquery> [channelId]
./discord-admin.sh msg-search-user \x3CguildId> \x3CuserId> [limit:100]

# Pin/Unpin
./discord-admin.sh msg-pin \x3CchannelId> \x3CmessageId>
./discord-admin.sh msg-unpin \x3CchannelId> \x3CmessageId>
./discord-admin.sh msg-pins \x3CchannelId>

# Get message history
./discord-admin.sh msg-history \x3CchannelId> [limit:100]

7. Webhooks (Advanced)

# List webhooks
./discord-admin.sh webhook-list \x3CguildId> [channelId]
./discord-admin.sh webhook-list \x3CguildId> \x3CchannelId>

# Create webhook
./discord-admin.sh webhook-create \x3CchannelId> \x3Cname> [avatarUrl]

# Get webhook info
./discord-admin.sh webhook-info \x3CwebhookId>

# Edit webhook
./discord-admin.sh webhook-edit \x3CwebhookId> name:\x3Cname> channel:\x3CchannelId>
./discord-admin.sh webhook-edit \x3CwebhookId> avatar:\x3CimageUrl>

# Execute webhook (send as webhook)
./discord-admin.sh webhook-execute \x3CwebhookId> \x3Ccontent>
./discord-admin.sh webhook-execute \x3CwebhookId> \x3Ccontent> username:\x3CcustomName> avatar:\x3CcustomAvatar>
./discord-admin.sh webhook-execute \x3CwebhookId> \x3Ccontent> tts:true
./discord-admin.sh webhook-execute \x3CwebhookId> embed:'{"title":"Embed","description":"内容"}'

# Delete webhook
./discord-admin.sh webhook-delete \x3CwebhookId>

8. Emojis & Stickers

# List emojis
./discord-admin.sh emoji-list \x3CguildId>

# Create emoji (from URL or base64)
./discord-admin.sh emoji-create \x3CguildId> \x3Cname> \x3CimageUrl>
./discord-admin.sh emoji-create \x3CguildId> \x3Cname> \x3Cbase64Data>

# Delete emoji
./discord-admin.sh emoji-delete \x3CguildId> \x3CemojiId>

# Modify emoji
./discord-admin.sh emoji-edit \x3CguildId> \x3CemojiId> \x3CnewName>

# List stickers
./discord-admin.sh sticker-list \x3CguildId>

# Create sticker
./discord-admin.sh sticker-create \x3CguildId> \x3Cname> \x3Ctag> \x3CimageUrl>

# Edit sticker
./discord-admin.sh sticker-edit \x3CguildId> \x3CstickerId> name:\x3Cname> tags:\x3Ctags>

# Delete sticker
./discord-admin.sh sticker-delete \x3CguildId> \x3CstickerId>

9. Soundboard (Beta)

# List soundboard sounds
./discord-admin.sh soundboard-list \x3CguildId>

# Play sound (triggers in voice channel)
./discord-admin.sh soundboard-play \x3CguildId> \x3CsoundId> [volume:100]

# Default sounds
./discord-admin.sh soundboard-defaults \x3CguildId>

10. Scheduled Events

# List events
./discord-admin.sh event-list \x3CguildId>

# Create event
./discord-admin.sh event-create \x3CguildId> \x3Cname> \x3Cdescription> \x3CstartTime> endTime:\x3CendTime> channel:\x3CchannelId>
./discord-admin.sh event-create \x3CguildId> "Gaming Night" "Join us!" 2024-12-31T20:00:00Z channel:123456789 entityType:VOICE

# Event types: VOICE, STAGE_INSTANCE, EXTERNAL

# Edit event
./discord-admin.sh event-edit \x3CguildId> \x3CeventId> name:\x3Cname> description:\x3Cdesc>
./discord-admin.sh event-edit \x3CguildId> \x3CeventId> status:SCHEDULED|ACTIVE|COMPLETED|CANCELED

# Delete event
./discord-admin.sh event-delete \x3CguildId> \x3CeventId>

11. Invites

# List invites
./discord-admin.sh invite-list \x3CguildId>

# Create invite
./discord-admin.sh invite-create \x3CchannelId> [maxUses:0] [maxAge:86400] [temporary:true]
./discord-admin.sh invite-create \x3CchannelId> maxUses:100 maxAge:3600 unique:true

# Get invite info
./discord-admin.sh invite-info \x3CinviteCode>

# Delete invite
./discord-admin.sh invite-delete \x3CguildId> \x3CinviteCode>

# Vanity URL (server setting)
./discord-admin.sh vanity-get \x3CguildId>
./discord-admin.sh vanity-set \x3CguildId> \x3Ccode>

12. Audit Logs

# Get audit logs
./discord-admin.sh audit-logs \x3CguildId> [limit:100]
./discord-admin.sh audit-logs \x3CguildId> user:\x3CuserId>
./discord-admin.sh audit-logs \x3CguildId> action:CHANNEL_CREATE,BAN,KICK

# Audit action types:
# GUILD_UPDATE, CHANNEL_CREATE, CHANNEL_UPDATE, CHANNEL_DELETE, CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE, MEMBER_KICK, MEMBER_PRUNE, BAN_ADD, BAN_REMOVE, MEMBER_UPDATE, MEMBER_ROLE_UPDATE, ROLE_CREATE, ROLE_UPDATE, ROLE_DELETE, INVITE_CREATE, INVITE_UPDATE, INVITE_DELETE, WEBHOOK_CREATE, WEBHOOK_UPDATE, WEBHOOK_DELETE, EMOJI_CREATE, EMOJI_UPDATE, EMOJI_DELETE, MESSAGE_DELETE, MESSAGE_BULK_DELETE, MESSAGE_PIN, MESSAGE_UNPIN, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE, THREAD_CREATE, THREAD_UPDATE, THREAD_DELETE

13. Thread Management

# List threads
./discord-admin.sh thread-list \x3CguildId>
./discord-admin.sh thread-list \x3CchannelId>

# Create thread
./discord-admin.sh thread-create \x3CchannelId> \x3Cname> \x3CmessageId> [autoArchive:1440]
./discord-admin.sh thread-create \x3CchannelId> \x3Cname> autoArchive:4320

# Edit thread
./discord-admin.sh thread-edit \x3CthreadId> name:\x3Cname> archived:true
./discord-admin.sh thread-edit \x3CthreadId> locked:true autoArchive:10080

# Delete thread
./discord-admin.sh thread-delete \x3CthreadId>

# Join/Leave thread
./discord-admin.sh thread-join \x3CthreadId>
./discord-admin.sh thread-leave \x3CthreadId>

14. Stage Channels

# Create stage instance
./discord-admin.sh stage-create \x3CchannelId> [topic:"Open Mic"]

# Edit stage
./discord-admin.sh stage-edit \x3CchannelId> topic:\x3Ctopic> privacyLevel:GUILD_ONLY
./discord-admin.sh stage-edit \x3CchannelId> scheduledStart:\x3CISO8601>

# Close stage
./discord-admin.sh stage-close \x3CchannelId>

15. Integration Management

# List integrations (bots, apps)
./discord-admin.sh integration-list \x3CguildId>

# Integration operations
./discord-admin.sh integration-sync \x3CguildId> \x3CintegrationId>
./discord-admin.sh integration-delete \x3CguildId> \x3CintegrationId>

16. Guild Settings

# Edit server settings
./discord-admin.sh guild-edit \x3CguildId> name:\x3CnewName>
./discord-admin.sh guild-edit \x3CguildId> icon:\x3CimageUrl>
./discord-admin.sh guild-edit \x3CguildId> splash:\x3CimageUrl>
./discord-admin.sh guild-edit \x3CguildId> region:\x3CvoiceRegion>
./discord-admin.sh guild-edit \x3CguildId> afkChannel:\x3CchannelId> afkTimeout:900
./discord-admin.sh guild-edit \x3CguildId> systemChannel:\x3CchannelId> notifications:ALL_MESSAGES
./discord-admin.sh guild-edit \x3CguildId> explicitContentFilter:ALL_MEMBERS
./discord-admin.sh guild-edit \x3CguildId> mfaLevel:ELEVATED
./discord-admin.sh guild-edit \x3CguildId> verificationLevel:HIGH
./discord-admin.sh guild-edit \x3CguildId> defaultNotifications:ALL_MESSAGES

# Community features
./discord-admin.sh guild-enable-community \x3CguildId>
./discord-admin.sh guild-disable-community \x3CguildId>

# Server merge/transfer
./discord-admin.sh guild-transfer \x3CguildId> \x3CnewOwnerId>

17. Widget Management

# Widget settings
./discord-admin.sh widget-get \x3CguildId>
./discord-admin.sh widget-edit \x3CguildId> enabled:true channel:\x3CchannelId>

18. Moderation Logging

# Setup moderation log
./discord-admin.sh modlog-set \x3CguildId> \x3CchannelId>
./discord-admin.sh modlog-get \x3CguildId>
./discord-admin.sh modlog-disable \x3CguildId>

# Configuration
./discord-admin.sh modlog-config \x3CguildId> \
    kicks:true \
    bans:true \
    messages:true \
    nickname:true \
    roles:true \
    invites:true

19. Bulk/Mass Operations

# Mass ban
./discord-admin.sh mass-ban \x3CguildId> \x3CuserIdsFileOrComma> [reason]

# Mass kick
./discord-admin.sh mass-kick \x3CguildId> \x3CuserIdsFileOrComma> [reason]

# Mass role assignment
./discord-admin.sh mass-role \x3CguildId> \x3CroleId> \x3CuserIdsFileOrComma>

# Channel sync (copy permissions)
./discord-admin.sh channel-sync-perms \x3CsourceChannelId> \x3CtargetChannelId>

# Role sync (copy all settings)
./discord-admin.sh role-clone \x3CguildId> \x3CroleId> \x3CnewName>

20. Template Operations

# Templates
./discord-admin.sh template-list \x3CguildId>
./discord-admin.sh template-create \x3CguildId> \x3Cname> [description]
./discord-admin.sh template-sync \x3CguildId> \x3CtemplateCode>
./discord-admin.sh template-delete \x3CguildId> \x3CtemplateId>

# Create server from template
./discord-admin.sh template-use \x3CtemplateCode> \x3CnewServerName>

⚙️ Configuration

Environment Variables

export DISCORD_BOT_TOKEN="your-bot-token"
export DISCORD_GUILD_ID="default-guild-id"
export DISCORD_DEFAULT_TIMEOUT=60        # API timeout in seconds
export DISCORD_MAX_RETRIES=3             # Retry on rate limit
export DISCORD_OUTPUT_FORMAT="json"      # json, pretty, minimal

Required Permissions

Option A: Administrator (easiest)

  • Requires: ADMINISTRATOR permission

Option B: Granular permissions

MANAGE_CHANNELS
MANAGE_ROLES
KICK_MEMBERS
BAN_MEMBERS
MANAGE_MESSAGES
MANAGE_GUILD
VIEW_AUDIT_LOG
MANAGE_EMOJIS
MANAGE_WEBHOOKS
MANAGE_GUILD_EXPRESSIONS
MANAGE_EVENTS
MODERATE_MEMBERS

Rate Limiting

The script handles Discord's rate limits automatically:

  • 1 req/1s per channel for message sends
  • 50 req/10s for other operations
  • Exponential backoff on 429 errors
  • Global rate limit detection

📊 Examples

Complete Server Setup

#!/bin/bash
# Setup a new community server from scratch

GUILD="123456789"
TOKEN="your-token"

# 1. Create roles
./discord-admin.sh role-create $GUILD "Admin" color:#FF0000 permissions:ADMINISTRATOR
./discord-admin.sh role-create $GUILD "Moderator" color:#FFA500 permissions:KICK_MEMBERS,BAN_MEMBERS,MANAGE_MESSAGES
./discord-admin.sh role-create $GUILD "Member" color:#00FF00 permissions:CREATE_INSTANT_INVITE

# 2. Create channels
./discord-admin.sh channel-create $GUILD "general" text
./discord-admin.sh channel-create $GUILD "announcements" announcements
./discord-admin.sh channel-create $GUILD "Voice Channels" category

# 3. Setup AutoMod
./discord-admin.sh automod-create $GUILD "Anti-Spam" keyword:scam,free,nitro actions:BLOCK_MESSAGE,ALERT

# 4. Create invite
INVITE=$(./discord-admin.sh invite-create 123456789 maxUses:100 unique:true | jq -r '.code')
echo "Server invite: discord.gg/$INVITE"

# 5. Setup mod log
./discord-admin.sh modlog-set $GUILD 987654321

Daily Moderation Routine

#!/bin/bash
# Daily server maintenance

GUILD="123456789"
TOKEN="your-token"

# Check audit logs for suspicious activity
./discord-admin.sh audit-logs $GUILD action:BAN_ADD --format pretty

# Check mod log
./discord-admin.sh audit-logs $GUILD user:BOT_USER_ID --format pretty

# List recent bans
./discord-admin.sh audit-logs $GUILD action:BAN_ADD limit:50 --format pretty

# Prune old inactive members
./discord-admin.sh member-prune $GUILD 30

# Check for spammers
./discord-admin.sh automod-list $GUILD

🔧 Troubleshooting

Common Errors

Error Solution
401: Unauthorized Check your bot token
403: Forbidden Bot lacks permissions
404: Not Found Invalid channel/guild/role ID
429: Too Many Requests Wait, script handles this
50013: Missing Permissions Bot role is below target role
50001: Missing Access Bot can't see the channel

Debug Mode

./discord-admin.sh --debug \x3Ccommand>

📝 Notes

  • 14-day limit: Bulk delete only works on messages from the last 14 days
  • Role hierarchy: Bot role must be higher than target roles
  • Ownership: Some operations require server owner
  • Vanity URLs: Require DISCOVERABLE feature and boosts
  • Templates: Only available to users with MANAGE_GUILD
  • Audit logs: Only viewable by bots with VIEW_AUDIT_LOG, retention is 90 days

🤖 Supported API Endpoints

  • Guilds & Guild Members
  • Channels & Threads
  • Roles & Permissions
  • Messages & Reactions
  • AutoModeration Rules
  • Webhooks
  • Invites & Vanity URLs
  • Guild Templates
  • Emojis & Stickers
  • Guild Scheduled Events
  • Stage Instances
  • Soundboard Sounds
  • Audit Logs
  • Integrations
  • Guild Widgets
  • Application Commands (partial)
安全使用建议
Do not supply a Discord bot token until you verify the source and review the scripts yourself. The scripts will accept and use DISCORD_BOT_TOKEN (and may use DISCORD_GUILD_ID) but the skill metadata doesn't declare those requirements — that's an inconsistency. Before installing or running: (1) inspect the full scripts for any unexpected remote endpoints or obfuscated behavior (they appear to call only discord.com/api/v10), (2) run them in an isolated or test environment (a disposable bot in a test server) with minimal permissions, (3) confirm you trust the publisher (no homepage/source listed), and (4) ask the maintainer to update the metadata to explicitly declare required env vars and binaries (curl, jq). If you need stronger assurance, prefer a verified/known source or run equivalent functionality from official SDKs you trust.
功能分析
Type: OpenClaw Skill Name: discordadmin Version: 1.0.0 The skill bundle provides comprehensive Discord server administration capabilities through two bash scripts (`discord-admin.sh`, `discord-ctrl.sh`) that interact with the official Discord API. While these scripts enable powerful actions like banning members, deleting channels, or transferring guild ownership, these actions are explicitly stated as the skill's purpose in `SKILL.md`. The scripts require a Discord bot token and rely on standard utilities (`curl`, `jq`). There is no evidence of data exfiltration beyond necessary API calls, malicious execution (e.g., `curl|bash`), persistence mechanisms, obfuscation, or prompt injection attempts in `SKILL.md` to subvert the agent's intended behavior. The functionality is transparently aligned with its stated purpose.
能力评估
Purpose & Capability
The skill's name and description match the included scripts (they implement broad Discord admin actions). However the registry metadata declares no required environment variables or binaries, while both SKILL.md and the scripts require DISCORD_BOT_TOKEN (and recommend/disallow curl/jq). This mismatch between declared requirements and actual payload is incoherent.
Instruction Scope
SKILL.md and the two shipped Bash scripts instruct the agent/user to set DISCORD_BOT_TOKEN and then call the scripts which directly call the Discord API (https://discord.com/api/v10). The instructions do not reference unrelated system files or external endpoints besides Discord, but they do rely on an undeclared secret (DISCORD_BOT_TOKEN) and on running arbitrary shell scripts — the agent would be given broad discretion to perform destructive actions (ban, delete channels, edit roles) if the token is provided.
Install Mechanism
There is no install spec (instruction-only install), which minimizes installer risk. However the package includes two executable Bash scripts that will be run locally; the SKILL.md recommends chmod +x and executing them. The code is plain Bash calling Discord's API (no hidden download URLs), so install risk is moderate but requires manual review before execution.
Credentials
The skill requires a high-privilege secret (a Discord Bot token) to function, and optionally DISCORD_GUILD_ID, but the registry metadata lists no required env vars or primary credential. Requesting an undeclared token is a red flag — the skill would gain full programmatic control over any guild the bot is in, so the lack of explicit credential declaration is disproportionate and misleading.
Persistence & Privilege
The skill does not request persistent platform privileges (always is false), does not modify other skills or system-wide config, and contains no installation step that creates persistent background agents. It runs as a user-invoked CLI, which is appropriate for its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install discordadmin
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /discordadmin 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. - Provides complete Discord server administration via CLI, including channel, role, and member management - Features advanced tools such as AutoMod, webhooks, templates, audit logs, scheduled events, and threads - Supports bulk operations for channels, roles, members, and messages - Includes message sending, searching, editing, and deletion (with bulk options) - Covers advanced permissions, full server overview, vanity URLs, and detailed moderation capabilities
元数据
Slug discordadmin
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

discord admin 是什么?

Complete A-Z Discord server administration. Channel/role/member management, AutoMod, webhooks, templates, audit logs, scheduled events, threads, and full server control via CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1360 次。

如何安装 discord admin?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install discordadmin」即可一键安装,无需额外配置。

discord admin 是免费的吗?

是的,discord admin 完全免费(开源免费),可自由下载、安装和使用。

discord admin 支持哪些平台?

discord admin 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 discord admin?

由 AYMANE SALIH AIT BRAHIM(@thebigbrainchad)开发并维护,当前版本 v1.0.0。

💬 留言讨论