discord

civitai/civitai

Публикация анонсов и сообщений в каналы Discord.

Звёзды7 324
Авторcivitai
Установок79

Установка

SKILL.md

Discord

Post messages and announcements to Discord channels via the REST API. Navigate channels by name, send formatted messages with embeds, manage reactions, threads, and more.

Setup

Run the setup script to authenticate via Discord:

node .claude/skills/discord/setup.mjs https://discord-proxy.civitai.com

This will:

  1. Open your browser for Discord authentication
  2. Verify you're in the team server
  3. Save your personal API token to .env

Admin Only: Direct Bot Token

If you manage the bot directly and need to bypass the proxy:

  1. Copy .env.example to .env in this skill directory
  2. Uncomment and set DISCORD_BOT_TOKEN
  3. Optionally set DISCORD_GUILD for auto-detection
cp .claude/skills/discord/.env.example .claude/skills/discord/.env

Running Commands

node .claude/skills/discord/query.mjs <command> [options]

Commands

CommandDescription
guildsList all guilds (servers) the bot is in
channels [guild]List text channels in a guild
send <channel> "message"Send a plain text message
announce <channel> "message"Send a formatted announcement embed
meShow bot information
usersList all members in the guild
user <name|id>Get user info and mention format
rolesList all roles in the guild
role <name|id>Get role info and mention format
messages <channel>Get recent messages from a channel
edit <msg_link> "content"Edit a message (bot's own only)
delete <msg_link>Delete a message
reply <msg_link> "content"Reply to a message
rich-embed <channel>Send embed with structured fields
react <msg_link> <emoji>Add reaction to a message
unreact <msg_link> <emoji>Remove reaction from a message
pin <msg_link>Pin a message
unpin <msg_link>Unpin a message
pins <channel>List pinned messages in a channel
thread <channel> --thread "name"Create a thread
dm <user> "message"Send a direct message to a user
dm-messages <user>Read DM history with a user

Options

FlagDescription
--jsonOutput raw JSON response
--title "text"Set embed title
--color <hex>Set embed color (default: #1E88E5 blue)
--footer "text"Set embed footer text
--url "link"Add a URL to the embed title
--limit, -n <N>Limit results (users: default 100, messages: default 20)
--field "Name|Value|inline"Add field to rich embed (repeatable)
--thumbnail "url"Add thumbnail image to embed
--image "url"Add large image to embed
--thread "name"Thread name (for thread command)

Examples

Send Messages

# Send to channel by name
node .claude/skills/discord/query.mjs send dev-general "Deployment complete!"

# Send to channel by ID
node .claude/skills/discord/query.mjs send 966054537880289330 "Build passed"

Send Announcements

# Basic announcement with auto-formatting
node .claude/skills/discord/query.mjs announce dev-alerts "New feature deployed!"

# Announcement with custom title and color
node .claude/skills/discord/query.mjs announce deployments "v5.0.1381 released" --title "Release" --color "#00C853"

Rich Embeds with Fields

# Structured release announcement
node .claude/skills/discord/query.mjs rich-embed dev-general "New release is live!" \
  --title "Release v5.0.1382" \
  --field "Version|5.0.1382|inline" \
  --field "Author|@justin|inline" \
  --field "Changes|3 files modified" \
  --footer "Civitai" \
  --color "#00C853"

Edit Messages

# Edit using message link
node .claude/skills/discord/query.mjs edit "https://discord.com/channels/955.../966.../123..." "Updated content"

# Edit using channel + message ID
node .claude/skills/discord/query.mjs edit dev-general 1234567890 "Updated content"

Delete Messages

# Delete using message link
node .claude/skills/discord/query.mjs delete "https://discord.com/channels/955.../966.../123..."

# Delete using channel + message ID
node .claude/skills/discord/query.mjs delete dev-general 1234567890

Reply to Messages

# Reply using message link
node .claude/skills/discord/query.mjs reply "https://discord.com/channels/955.../966.../123..." "Thanks for the update!"

# Reply using channel + message ID
node .claude/skills/discord/query.mjs reply dev-general 1234567890 "Got it!"

Reactions

# Add a reaction (use Unicode emoji)
node .claude/skills/discord/query.mjs react "https://discord.com/channels/..." "U+2705"
node .claude/skills/discord/query.mjs react dev-general 1234567890 "U+1F44D"

# Remove a reaction
node .claude/skills/discord/query.mjs unreact "https://discord.com/channels/..." "U+2705"

Pin/Unpin Messages

# Pin a message
node .claude/skills/discord/query.mjs pin "https://discord.com/channels/..."

# Unpin a message
node .claude/skills/discord/query.mjs unpin "https://discord.com/channels/..."

# List pinned messages
node .claude/skills/discord/query.mjs pins dev-general

Threads

# Create thread from a message
node .claude/skills/discord/query.mjs thread "https://discord.com/channels/..." --thread "Discussion"

# Create thread in channel (no parent message)
node .claude/skills/discord/query.mjs thread dev-general --thread "New Topic"

Direct Messages

# Send DM to a user by name
node .claude/skills/discord/query.mjs dm justin "Hey, can you review this PR?"

# Send DM to a user by ID
node .claude/skills/discord/query.mjs dm 303445765865603073 "Quick question about the deployment"

# Read DM history with a user
node .claude/skills/discord/query.mjs dm-messages justin

# Read last 50 DMs
node .claude/skills/discord/query.mjs dm-messages justin --limit 50

Users and Roles

# List users
node .claude/skills/discord/query.mjs users --limit 50

# Find user to get mention format
node .claude/skills/discord/query.mjs user justin
# Output: Mention: <@303445765865603073>

# List roles
node .claude/skills/discord/query.mjs roles

# Find role to get mention format
node .claude/skills/discord/query.mjs role devs
# Output: Mention: <@&955572624992382996>

Mention Users and Roles

# Mention a user in a message
node .claude/skills/discord/query.mjs send dev-general "<@303445765865603073> check this PR"

# Mention a role
node .claude/skills/discord/query.mjs announce dev-general "<@&955572624992382996> new release!" --title "Attention Devs"

Read Messages

# Get last 20 messages (default)
node .claude/skills/discord/query.mjs messages dev-general

# Get last 50 messages
node .claude/skills/discord/query.mjs messages dev-general --limit 50

Message Links

Most commands accept Discord message links directly:

  • Format: https://discord.com/channels/GUILD_ID/CHANNEL_ID/MESSAGE_ID
  • Right-click any message in Discord > "Copy Message Link"

Commands that accept message links: edit, delete, reply, react, unreact, pin, unpin, thread

Channel Name Matching

Channel names are matched flexibly:

  • Exact match: dev-general
  • Partial match: dev-gen matches dev-general
  • With or without emoji prefix: team matches team
  • Case insensitive: DEV-GENERAL matches dev-general

When to Use

  • Deployments: Announce releases to deployments or dev-alerts
  • Bug fixes: Share fixes with the team in dev-general
  • Feature announcements: Post to relevant channels
  • Team updates: Share progress in team or project-specific channels
  • Automated notifications: Post from CI/CD or scripts
  • Mentioning users: Look up user IDs with user command, then @mention them
  • Mentioning roles: Look up role IDs with role command, then @mention them
  • Reading context: Check recent messages with messages command
  • Reactions: Acknowledge messages with emoji reactions
  • Organizing discussions: Create threads for focused conversations
  • Direct messages: Send private DMs to team members, read DM history

Tips

  • Use announce for important updates (creates rich embed)
  • Use send for quick messages or automated notifications
  • Use rich-embed for structured data with multiple fields
  • Channel names are cached after first lookup
  • Bot must have appropriate permissions in target channel
  • Use --json for scripting or piping to other tools
  • Message links work across all message-targeting commands

Permissions Required

The bot needs these Discord permissions:

  • View Channels - to list and find channels
  • Send Messages - to post messages
  • Embed Links - for rich announcements
  • Read Message History - to read channel messages
  • Add Reactions - to add reactions
  • Manage Messages - to pin/unpin and delete messages
  • Create Public Threads - to create threads
  • Server Members Intent - enabled in Discord Developer Portal (for listing members)

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: discord](https://darkplay.ru/ai/skills/civitai-civitai-discord)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

discordanthropics · Мост для обмена сообщениями Discord со встроенным контролем доступа. Управление…
100 комп.
social-publishingwshobson · Планирование и публикация постов в соцсетях на 13 платформах (X, LinkedIn Profile + Page…
495 комп.
claude-discord-statusanthropics · Показывает статус Claude Code в Discord через Rich Presence.
38 комп.
cloudplayplusanthropics · Плагин-канал, связывающий Claude Code с запущенным Flutter-приложением CloudPlayPlus…
38 комп.
discord-threadsanthropics · Плагин Discord для Claude Code с маршрутизацией тредов по сессиям. Форк официального…
38 комп.
global-entry-appointment-scanneranthropics · Ищет свободные слоты Global Entry и NEXUS и шлёт уведомления в Discord, Slack, SMS или на…
38 комп.
keeperhubanthropics · Создание и управление автоматизациями из Claude Code: мониторинг смарт-контрактов…
38 комп.
munin-memoryanthropics · Munin — система долговременной памяти для разработчиков: запоминает контекст, решения…
38 комп.
pinraganthropics · Локальный RAG для рабочего процесса разработки: индексирует PDF, видео с YouTube…
38 комп.
skill-seekersanthropics · Превращает 17 типов источников в навыки и RAG-знания для ИИ: сайты документации…
38 комп.

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8