← 返回
沟通协作 Key

Discord Admin

Full Discord server administration suite for OpenClaw — roles, moderation, channels, invites, webhooks, audit log, and member management.
OpenClaw 完整 Discord 服务器管理套件 —— 角色、审核、频道、邀请、Webhook、审计日志与成员管理。
rendrag-git
沟通协作 clawhub v0.1.1 1 版本 99877 Key: 需要
★ 2
Stars
📥 772
下载
💾 5
安装
1
版本
#admin#discord#latest#moderation#roles

概述

Discord Admin Plugin

Full Discord server administration suite for OpenClaw. Manage roles, moderate users, configure channels, handle invites and webhooks, and query audit logs — all through a single unified tool.

What it does

Registers a discord_admin tool that exposes 22 administrative actions for Discord servers. The plugin connects its own Discord.js client using your bot token and provides structured JSON responses for every operation.

Features

  • Role Management — Create, edit, and delete roles with color, hoist, mentionable, and permission options
  • Moderation — Kick, ban, unban, timeout, untimeout, and warn users (warnings sent via DM embed)
  • Channel Admin — Lock, unlock, clone, set slowmode, and make channels private with role-based access
  • Bulk Delete — Purge up to 100 messages from a channel
  • Invites — Create, list, and delete server invites with max age/uses/temporary options
  • Webhooks — Create, list, and delete webhooks by channel or guild
  • Server Info — Fetch guild metadata including member count, boost level, channel/role counts
  • Audit Log — Query audit log entries with optional action type filter
  • Member List — List members with optional role filter
  • Nickname Management — Set or clear member nicknames

Setup

  1. Install the plugin and its dependencies:

```

clawhub install discord-admin-plugin

cd ~/.openclaw/skills/discord-admin-plugin && npm install

```

  1. Configure your Discord bot token in your OpenClaw config (this is the only credential required — it is read from channels.discord.token and never sent anywhere except the Discord gateway):

```json

{

"channels": {

"discord": {

"token": "YOUR_BOT_TOKEN"

}

}

}

```

  1. Ensure your bot has the required gateway intents enabled in the Discord Developer Portal:
    • Guilds
    • Guild Members (privileged)
    • Guild Moderation
    • Guild Messages
    • Guild Invites
    • Guild Webhooks
  1. Restart your gateway: openclaw gateway restart

Credentials & Permissions

This plugin requires a Discord bot token (channels.discord.token in OpenClaw config). The token is used exclusively to connect to the Discord gateway — it is never transmitted to any other endpoint.

Required bot permissions: Manage Roles, Kick Members, Ban Members, Moderate Members, Manage Channels, Manage Messages, Create Instant Invite, Manage Webhooks, View Audit Log, Manage Nicknames.

Required privileged intents: Guild Members (for member listing, kicks, timeouts, nickname changes).

Use a bot token with the minimum permissions your use case needs. Avoid using a full-admin token if you only need a subset of actions.

Actions

ActionDescription
---------------------
role-createCreate a new role
role-editEdit an existing role
role-deleteDelete a role
kickKick a member
banBan a user
unbanUnban a user
timeoutTimeout a member (up to 28 days)
untimeoutRemove a timeout
warnSend a warning DM embed
bulk-deletePurge 2-100 messages
channel-cloneClone a channel
channel-lockDeny SendMessages for @everyone
channel-unlockReset SendMessages for @everyone
channel-slowmodeSet slowmode (0-21600s)
channel-privateHide channel, grant to specific roles
invite-createCreate an invite
invite-listList server invites
invite-deleteDelete an invite
webhook-createCreate a webhook
webhook-listList webhooks
webhook-deleteDelete a webhook
server-infoGet server metadata
audit-logQuery audit log
member-listList members
nickname-setSet a member's nickname

版本历史

共 1 个版本

  • v0.1.1 当前
    2026-03-19 15:31 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,689
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,599
content-creation

AgentReviews

rendrag-git
Submit and discover location-tagged reviews across the OpenClaw agent network. Use when: (1) user wants to review a plac
★ 1 📥 711