Skip to content
Back to skills

Discord Setup

ASecurity

Discord webhook setup for minipostiz-cli — create webhook in a channel, store URL

  • 54 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 29, 2026
toolsgobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add javimosch/supercli --skill discord-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Discord Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Discord Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-discord-setup/badge)](https://www.skillsdirectory.com/skills/javimosch-discord-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: minipostiz-discord-setup
description: Discord webhook setup for minipostiz-cli — create webhook in a channel, store URL
type: setup
---

# minipostiz-cli — Discord Setup

Discord uses webhooks for posting — no OAuth app or bot required. One URL is all you need.

## What you need

| Credential | Flag |
|------------|------|
| Webhook URL | `--webhookUrl` |

---

## Step 1 — Create a Webhook

**In Discord desktop or browser:**

1. Open your server → right-click the target channel → **Edit Channel**
2. Go to **Integrations** → **Webhooks** → **New Webhook**
3. Set a name (e.g. `minipostiz`) and optionally upload an avatar
4. Click **Copy Webhook URL** → save it
5. Click **Save**

**Shortcut:** Channel Settings gear icon → Integrations → Webhooks

---

## Step 2 — Store in minipostiz-cli

```bash
minipostiz auth --platform discord \
  --webhookUrl "https://discord.com/api/webhooks/CHANNEL_ID/TOKEN"

# Or via supercli
sc minipostiz auth set-discord \
  --webhookUrl "https://discord.com/api/webhooks/CHANNEL_ID/TOKEN"
```

---

## Step 3 — Test

```bash
minipostiz auth verify --platform discord
minipostiz publish --platform discord --message "Hello from minipostiz-cli"
```

---

## Multiple channels

To post to multiple Discord channels, use multiple webhook credentials under different platform aliases — or use comma-separated platforms with separate auth entries per server/channel.

---

## Troubleshooting

| Error | Cause | Fix |
|-------|-------|-----|
| `404 Unknown Webhook` | Webhook was deleted | Create a new webhook |
| `401 Invalid Webhook Token` | URL was regenerated | Copy the new URL from channel settings |
| `400 Cannot send empty message` | Empty message string | Ensure `--message` is non-empty |

## Token lifetime

Webhook URLs **do not expire** but can be deleted or regenerated from Channel Settings → Integrations.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.