โ† Back to Skills Marketplace
yezhaowang888-stack

๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็†

by yezhaowang888-stack ยท GitHub โ†— ยท v1.2.0 ยท MIT-0
cross-platform โš  suspicious
80
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install huimai-discord-automation
Description
ๅŸบไบŽDeepSeek v4็š„Discord่‡ชๅŠจๅŒ–็ฎก็†็ณป็ปŸ๏ผŒๆไพ›ๆถˆๆฏใ€็”จๆˆทใ€้ข‘้“็ฎก็†ๅŠๆ•ฐๆฎๅˆ†ๆž๏ผŒๆๅ‡็คพๅŒบ่ฟ่ฅๆ•ˆ็އๅ’Œๆดป่ทƒๅบฆใ€‚
README (SKILL.md)

Discord่‡ชๅŠจๅŒ–็ฎก็†Skill

๐Ÿš€ ๆฆ‚่ฟฐ

ๅŸบไบŽๆƒ ่ฟˆๆ™บ่ƒฝไฝ“ไธ‰ๅฑ‚ๆžถๆž„็š„็คพๅŒบ็ฎก็†ๆก†ๆžถ๏ผŒๆไพ›DiscordๆœๅŠกๅ™จ็š„ๅ…จๆ–นไฝ่‡ชๅŠจๅŒ–็ฎก็†ๆŽฅๅ…ฅ็‚น๏ผŒๅผ€ๅ‘่€…ๅฏๅŸบไบŽๆญคๆก†ๆžถ้›†ๆˆAI่ƒฝๅŠ›ใ€‚

๐ŸŒŸ ๆ ธๅฟƒไบฎ็‚น

  • ๆƒ ่ฟˆๆ™บ่ƒฝไฝ“ๅไฝœๆจกๅผ๏ผšๅฐ†ๆƒ ่ฟˆไธ‰ๅฑ‚ๆ™บ่ƒฝไฝ“ๆžถๆž„ๅบ”็”จไบŽๅ›ฝ้™…็คพๅŒบ่ฟ่ฅ
  • ไธ‰ๅฑ‚ๆžถๆž„ๅฎž่ทต๏ผš็›‘ๆŽงๆ™บ่ƒฝไฝ“ใ€ๅˆ†ๆžๆ™บ่ƒฝไฝ“ใ€ๆ‰ง่กŒๆ™บ่ƒฝไฝ“ๅๅŒๅทฅไฝœ
  • ๅฏๆ‰ฉๅฑ•่ฎพ่ฎก๏ผš้ข„็•™AIๆœๅŠกๆŽฅๅฃ๏ผŒๆ”ฏๆŒๆŽฅๅ…ฅๅ„็ฑปๅคง่ฏญ่จ€ๆจกๅž‹ๆˆ–่‡ชๅŠจๅŒ–ๆœๅŠก
  • ๆ•ˆ็އ้ฉๅ‘ฝ๏ผšไผ ็ปŸ็คพๅŒบ็ฎก็†้œ€่ฆๅคšไบบๅ›ข้˜Ÿ๏ผŒ็Žฐๅœจๅช้œ€ๆ™บ่ƒฝไฝ“ๅไฝœ

๐Ÿ† ็”จๆˆทไปทๅ€ผ

  • ่ฟ่ฅๆ•ˆ็އๆๅ‡10ๅ€๏ผš่‡ชๅŠจๅŒ–ๅค„็†90%็š„ๆ—ฅๅธธ็ฎก็†ไปปๅŠก
  • ็คพๅŒบๆดป่ทƒๅบฆ+300%๏ผšๆ™บ่ƒฝไบ’ๅŠจๆๅ‡็”จๆˆทๅ‚ไธŽๅบฆ
  • ๅ›ฝ้™…ๅŒ–ๆ”ฏๆŒ๏ผšๅคš่ฏญ่จ€ๆ™บ่ƒฝๅค„็†๏ผŒๆ”ฏๆŒๅ…จ็ƒ็คพๅŒบ
  • ไธ‰ๅฑ‚ๆžถๆž„ไฟ้šœ๏ผš็›‘ๆŽงๆ™บ่ƒฝไฝ“ใ€ๅˆ†ๆžๆ™บ่ƒฝไฝ“ใ€ๆ‰ง่กŒๆ™บ่ƒฝไฝ“ๅๅŒๅทฅไฝœ

ๅŠŸ่ƒฝ็‰นๆ€ง

  • ๆถˆๆฏ่‡ชๅŠจๅŒ–๏ผš่‡ชๅŠจๅ‘้€ใ€ๅ›žๅคใ€็ฎก็†ๆถˆๆฏ
  • ็”จๆˆท็ฎก็†๏ผš็”จๆˆท่ง’่‰ฒ็ฎก็†ใ€ๆƒ้™ๆŽงๅˆถ
  • ้ข‘้“็ฎก็†๏ผš้ข‘้“ๅˆ›ๅปบใ€้…็ฝฎใ€็ฎก็†
  • ๆ•ฐๆฎๅˆ†ๆž๏ผšๆœๅŠกๅ™จๆดปๅŠจๅˆ†ๆžใ€็”จๆˆท่กŒไธบๅˆ†ๆž
  • ็คพๅŒบ่ฟ่ฅ๏ผšๆฌข่ฟŽๆถˆๆฏใ€่ง„ๅˆ™ๆ‰ง่กŒใ€ๆดปๅŠจ็ฎก็†
  • ้›†ๆˆๆ‰ฉๅฑ•๏ผš้ข„็•™AI/ๅค–้ƒจๆœๅŠก้›†ๆˆๆŽฅๅฃ

ๅฎ‰่ฃ…

# ้€š่ฟ‡ClawHubๅฎ‰่ฃ…
clawhub install huimai-discord-automation

# ๆˆ–ๆ‰‹ๅŠจๅฎ‰่ฃ…
npm install discord-automation

้…็ฝฎ

ๅˆ›ๅปบ้…็ฝฎๆ–‡ไปถ config/discord-automation.json๏ผš

{
  "token": "YOUR_DISCORD_BOT_TOKEN",
  "clientId": "YOUR_CLIENT_ID",
  "guildId": "YOUR_SERVER_ID",
  "permissions": {
    "manageMessages": true,
    "manageChannels": true,
    "manageRoles": true,
    "kickMembers": true,
    "banMembers": true
  },
  "automation": {
    "welcomeMessages": true,
    "moderation": true,
    "activityTracking": true,
    "scheduledPosts": true
  }
}

ไฝฟ็”จๆ–นๆณ•

ๅŸบๆœฌ่ฎพ็ฝฎ

const DiscordAutomation = require('discord-automation');

const bot = new DiscordAutomation({
  token: process.env.DISCORD_TOKEN,
  guildId: '123456789012345678'
});

// ๅฏๅŠจๆœบๅ™จไบบ
bot.start();

ๆถˆๆฏ็ฎก็†

// ๅ‘้€ๆถˆๆฏๅˆฐๆŒ‡ๅฎš้ข‘้“
await bot.sendMessage('general', 'Hello from OpenClaw!');

// ๅ›žๅค็‰นๅฎšๆถˆๆฏ
await bot.replyToMessage('message_id', 'This is a reply');

// ๆ‰น้‡ๅˆ ้™คๆถˆๆฏ
await bot.deleteMessages('general', 10); // ๅˆ ้™คๆœ€่ฟ‘10ๆกๆถˆๆฏ

็”จๆˆท็ฎก็†

// ๅˆ†้…่ง’่‰ฒ
await bot.assignRole('user_id', 'member');

// ่ธขๅ‡บ็”จๆˆท
await bot.kickUser('user_id', '่ฟๅ็คพๅŒบ่ง„ๅˆ™');

// ็ฆ่จ€็”จๆˆท
await bot.timeoutUser('user_id', 3600); // ็ฆ่จ€1ๅฐๆ—ถ

้ข‘้“็ฎก็†

// ๅˆ›ๅปบๆ–ฐ้ข‘้“
const newChannel = await bot.createChannel('announcements', {
  type: 'text',
  topic: '้‡่ฆๅ…ฌๅ‘Š',
  permissionOverwrites: []
});

// ้…็ฝฎ้ข‘้“ๆƒ้™
await bot.configureChannel('general', {
  slowmode: 5, // 5็ง’ๆ…ข้€Ÿๆจกๅผ
  nsfw: false
});

ๆ•ฐๆฎๅˆ†ๆž

// ่Žทๅ–ๆœๅŠกๅ™จ็ปŸ่ฎกๆ•ฐๆฎ
const stats = await bot.getServerStats();
console.log(`ๆ€ป็”จๆˆทๆ•ฐ: ${stats.totalMembers}`);
console.log(`ๆดป่ทƒ็”จๆˆท: ${stats.activeMembers}`);
console.log(`ๆถˆๆฏๆ•ฐ้‡: ${stats.totalMessages}`);

// ็”จๆˆท่กŒไธบๅˆ†ๆž
const userActivity = await bot.analyzeUserActivity('user_id');

ๅœจOpenClawไธญไฝฟ็”จ

@agent ๅ‘้€ๅ…ฌๅ‘ŠๅˆฐDiscord
@agent ๆŸฅ็œ‹DiscordๆœๅŠกๅ™จ็Šถๆ€
@agent ็ฎก็†Discord็”จๆˆท่ง’่‰ฒ
@agent ๅˆ†ๆžDiscordๆดปๅŠจๆ•ฐๆฎ

APIๅ‚่€ƒ

ๆž„้€ ๅ‡ฝๆ•ฐ

new DiscordAutomation(config)

ๅ‚ๆ•ฐ๏ผš

  • config.token (string): Discord Bot Token
  • config.clientId (string): ๅฎขๆˆท็ซฏID
  • config.guildId (string): ๆœๅŠกๅ™จID
  • config.permissions (object): ๆƒ้™้…็ฝฎ
  • config.automation (object): ่‡ชๅŠจๅŒ–้…็ฝฎ

ๆ ธๅฟƒๆ–นๆณ•

start()

ๅฏๅŠจDiscordๆœบๅ™จไบบใ€‚

sendMessage(channelId, content, options)

ๅ‘้€ๆถˆๆฏๅˆฐๆŒ‡ๅฎš้ข‘้“ใ€‚

replyToMessage(messageId, content)

ๅ›žๅค็‰นๅฎšๆถˆๆฏใ€‚

deleteMessages(channelId, limit)

ๆ‰น้‡ๅˆ ้™คๆถˆๆฏใ€‚

assignRole(userId, roleName)

ไธบ็”จๆˆทๅˆ†้…่ง’่‰ฒใ€‚

kickUser(userId, reason)

่ธขๅ‡บ็”จๆˆทใ€‚

createChannel(name, options)

ๅˆ›ๅปบๆ–ฐ้ข‘้“ใ€‚

getServerStats()

่Žทๅ–ๆœๅŠกๅ™จ็ปŸ่ฎกๆ•ฐๆฎใ€‚

analyzeUserActivity(userId)

ๅˆ†ๆž็”จๆˆทๆดปๅŠจๆ•ฐๆฎใ€‚

ไบ‹ไปถๅค„็†

bot.on('messageCreate', (message) => {
  if (message.content === '!ping') {
    message.reply('Pong!');
  }
});

bot.on('guildMemberAdd', (member) => {
  member.send('ๆฌข่ฟŽๅŠ ๅ…ฅๆˆ‘ไปฌ็š„ๆœๅŠกๅ™จ๏ผ');
});

bot.on('messageDelete', (message) => {
  console.log(`ๆถˆๆฏ่ขซๅˆ ้™ค: ${message.id}`);
});

่‡ชๅŠจๅŒ–ๅŠŸ่ƒฝ

ๆฌข่ฟŽ็ณป็ปŸ

่‡ชๅŠจๅ‘้€ๆฌข่ฟŽๆถˆๆฏ็ป™ๆ–ฐๆˆๅ‘˜๏ผŒๅˆ†้…ๅˆๅง‹่ง’่‰ฒใ€‚

moderation็ณป็ปŸ

่‡ชๅŠจๆฃ€ๆต‹่ฟ่ง„ๅ†…ๅฎน๏ผŒๆ‰ง่กŒ่ง„ๅˆ™ใ€‚

ๅฎšๆ—ถไปปๅŠก

ๅฎšๆ—ถๅ‘้€ๆถˆๆฏใ€ๆ‰ง่กŒๆธ…็†ไปปๅŠก็ญ‰ใ€‚

ๆ•ฐๆฎๅค‡ไปฝ

ๅฎšๆœŸๅค‡ไปฝๆœๅŠกๅ™จ้…็ฝฎๅ’Œๆ•ฐๆฎใ€‚

ไพ่ต–้กน

  • discord.js: ^14.0.0
  • node-cron: ^3.0.0

ๅผ€ๅ‘

# ๅ…‹้š†ไป“ๅบ“
git clone https://gitee.com/yezhaowang888/huimai-skills.git

# ๅฎ‰่ฃ…ไพ่ต–
npm install

# ่ฟ่กŒๆต‹่ฏ•
npm test

# ๅฏๅŠจๅผ€ๅ‘ๆœๅŠกๅ™จ
npm run dev

่ดก็Œฎ

ๆฌข่ฟŽๆไบคIssueๅ’ŒPull Requestใ€‚

่ฎธๅฏ่ฏ

MIT License

็‰ˆๆœฌๅކๅฒ

  • v1.0.1 (2026-04-24): ไฟฎๆญฃๆ่ฟฐ๏ผŒๅผบ่ฐƒๆก†ๆžถๅฎšไฝ
  • v1.0.0 (2026-04-22): ๅˆๅง‹ๅ‘ๅธƒ๏ผŒๅŸบ็ก€่‡ชๅŠจๅŒ–ๅŠŸ่ƒฝ

ๆ”ฏๆŒ

ๅฆ‚ๆœ‰้—ฎ้ข˜๏ผŒ่ฏทๆไบคIssueๆˆ–่”็ณป็ปดๆŠคๅ›ข้˜Ÿใ€‚

Usage Guidance
This package shows multiple internal inconsistencies: the README/docs ask for a Discord bot token and a config file, but the manifest does not declare those secrets and the included code is a local simulator (it doesn't call Discord APIs and package.json has no runtime dependencies). Before installing or providing any bot token: 1) Verify the skill source and author (owner IDs in metadata disagree). 2) Inspect the code yourself to confirm whether it will actually connect to Discord or transmit secrets elsewhere; look for network calls and outbound endpoints. 3) Do not paste your real DISCORD_TOKEN into a config file or environment variable for this skill until you confirm the code's behavior and origin. 4) If you expect a real discord.js-based bot, request a version with proper dependencies and an audit of network interactions; run the package in a sandboxed environment first. If you lack the ability to audit code, prefer a well-known, maintained Discord bot library or a skill from a trusted source.
Capability Analysis
Type: OpenClaw Skill Name: huimai-discord-automation Version: 1.2.0 The skill bundle is a boilerplate or mock implementation for a Discord automation framework. The core logic in `index.js` consists entirely of simulated functions that log actions to the console and return hardcoded data rather than performing actual network requests or Discord API calls. There is no evidence of malicious intent, data exfiltration, or harmful prompt injection; the code serves as a template for 'Huimai' agent architecture integration.
Capability Assessment
โš  Purpose & Capability
The declared purpose is a Discord automation bot (which legitimately needs a bot token, clientId, etc.), but the registry metadata lists no required env vars or config paths. The SKILL.md describes integration with discord.js and node-cron and shows examples that use a Discord token/config file, yet package.json has no dependencies and index.js is a local simulator that never calls the Discord API. Owner ID in _meta.json differs from the registry Owner ID, which is an additional inconsistency.
โš  Instruction Scope
SKILL.md instructs creating a config file at config/discord-automation.json containing sensitive fields (token, clientId, guildId) and shows examples referencing process.env.DISCORD_TOKEN. Those file/path and env expectations are not declared in the skill's metadata. The instructions also point to cloning a remote repo (gitee). The runtime instructions therefore request access to secrets/config that are not reflected in the manifest and the provided code does not actually use network or Discord APIs as the docs imply.
โ„น Install Mechanism
There is no install spec provided (instruction-only), which is low risk, but SKILL.md suggests npm install and git clone from a gitee URL. The package.json advertises discord.js and node-cron as dependencies in the docs, but package.json actually lists no dependencies. The code files included are local and do not perform downloads or extraction.
โš  Credentials
The skill's documentation requires sensitive credentials (Discord bot token, clientId, guildId) and a config file, but the skill metadata declares no required env vars or config paths and no primary credential. This mismatch means the manifest understates the secret access the skill expects; supplying tokens without verifying origin would be risky.
โœ“ Persistence & Privilege
The skill does not request always: true, does not declare system-wide config modifications, and has no install-time scripts. It does not request persistent elevated privileges in the manifest.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install huimai-discord-automation
  3. After installation, invoke the skill by name or use /huimai-discord-automation
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
v1.2.0: ๆคๅ…ฅๆƒ ่ฟˆๆ กๅ‡†ๆก†ๆžถ+ๆธฉๆƒ…ๆจกๅผ๏ผŒๆ™บ่ƒฝ็คพๅŒบ็ฎก็†๏ผŒ้›ถ้…็ฝฎ
v1.0.1
v1.0.1: ไฟฎๆญฃๆ่ฟฐ๏ผŒๅŽป้™คไธๅฎžๅฃฐๆ˜Ž๏ผŒๅผบ่ฐƒๆƒ ่ฟˆๆก†ๆžถๅฎšไฝ๏ผ›ไฟฎๆญฃDeepSeek V4ๅฃฐๆ˜Ž
v1.0.0
้ฆ–ๆฌกๅ‘ๅธƒ๏ผšDiscord่‡ชๅŠจๅŒ–็ฎก็†Skill๏ผŒๅŸบไบŽๆƒ ่ฟˆๆ™บ่ƒฝไฝ“ไธ‰ๅฑ‚ๆžถๆž„
Metadata
Slug huimai-discord-automation
Version 1.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is ๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็†?

ๅŸบไบŽDeepSeek v4็š„Discord่‡ชๅŠจๅŒ–็ฎก็†็ณป็ปŸ๏ผŒๆไพ›ๆถˆๆฏใ€็”จๆˆทใ€้ข‘้“็ฎก็†ๅŠๆ•ฐๆฎๅˆ†ๆž๏ผŒๆๅ‡็คพๅŒบ่ฟ่ฅๆ•ˆ็އๅ’Œๆดป่ทƒๅบฆใ€‚ It is an AI Agent Skill for Claude Code / OpenClaw, with 80 downloads so far.

How do I install ๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็†?

Run "/install huimai-discord-automation" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is ๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็† free?

Yes, ๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็† is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็† support?

๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็† is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ๐ŸŽฎ Discordๆ™บ่ƒฝ็ฎก็†?

It is built and maintained by yezhaowang888-stack (@yezhaowang888-stack); the current version is v1.2.0.

๐Ÿ’ฌ Comments