Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

discord-bot-stinger

/discord-bot-stinger

Pomaga budować boty Discord: komendy slash, modale, obsługa głosu, projekt gatewaya, limity zapytań i weryfikacja, z przewodnikiem po materiałach w README.md.

Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
14.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
19
Skrypty
3
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

Co sprawdzić przed instalacją
  • 3 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: templates/slash-command-discord-js.ts, templates/slash-command-discord-py.py, templates/voice-queue-discord-js.ts

Co robi i kiedy

Pomaga budować boty Discord: komendy slash, modale, obsługa głosu, projekt gatewaya, limity zapytań i weryfikacja, z przewodnikiem po materiałach w README.md.

Oryginalny opis (EN)

Build Discord bots. Use for slash commands, modals, voice, gateway design, rate limits, or verification. Read README.md for the guide map.

Jak działa

  1. Quick-reference: critical API facts (May 2026)
  2. Critical directives (non-negotiables)
  3. Guide index
  4. Template index
  5. Example index
  6. Open questions (flagged by scripture-historian)
  7. Refresh cadence
Sekcje z nagłówków SKILL.md, w oryginale · 104 linii, 930 słów
Podgląd SKILL.md
---
name: "discord-bot-stinger"
description: "Build Discord bots. Use for slash commands, modals, voice, gateway design, rate limits, or verification. Read README.md for the guide map."
license: AGPL-3.0-or-later
---

# discord-bot-stinger

Start with [README.md](README.md) for the workflow map and detailed references.

Equips `discord-bot-wasp-drone` to build, review, and audit Discord bots and applications on the 2026 Discord API surface. Read this file first on every invocation, then follow the guide pointer for the specific task.

---

## Quick-reference: critical API facts (May 2026)

| Fact | Value | Source (source-repository research, not shipped with the plugin) |
|------|-------|--------|
| discord.js stable | **v14.25.1** (v15 pre-release, ~94% milestone; not production-ready) | `research/external/2026-05-20-discordjs-v15-status.md` (source-repository research, not shipped with the plugin) |
| discord.py stable | **v2.x** (CommandTree + app_commands) | `research/external/2026-05-20-discordpy-app-commands.md` (source-repository research, not shipped with the plugin) |
| Wavelink status | **ABANDONED**: do not recommend | `research/external/2026-05-20-wavelink-deprecated.md` (source-repository research, not shipped with the plugin) |
| Voice clients (Python) | **Mafic** or **lavalink.py** (both DAVE-compliant) | `research/external/2026-05-20-lavalink-clients-2026.md` (source-repository research, not shipped with the plugin) |
| Voice clients (Node.js) | **Shoukaku** or **Lavalink-Client** (both DAVE-compliant) | `research/external/2026-05-20-lavalink-clients-2026.md` (source-repository research, not shipped with the plugin) |
| Lavalink version | **v4** | `research/external/2026-05-20-lavalink-clients-2026.md` (source-repository research, not shipped with the plugin) |
| DAVE protocol | Mandatory in all voice channels since **March 1, 2026** | `research/external/2026-05-20-discord-changelog-2026.md` (source-repository research, not shipped with the plugin) |
| Discord API version | **v10** (Gateway v10) | `research/external/2026-05-20-discord-api-v10-changes-2026.md` (source-repository research, not shipped with the plugin) |
| Sharding required at | **2,500 guilds** (hard enforcement) | `research/external/2026-05-20-discord-sharding-guide.md` (source-repository research, not shipped with the plugin) |
| Privileged intent gate | Apply at **75 servers**; hard block at **100** | `research/external/2026-05-20-discord-privileged-intents.md` (source-repository research, not shipped with the plugin) |
| Data retention limit | **30 days** max for privileged intent approval | `research/external/2026-05-20-discord-privileged-intents.md` (source-repository research, not shipped with the plugin) |
| Global command propagation | **~1 hour** | `research/external/2026-05-20-discord-application-commands-spec.md` (source-repository research, not shipped with the plugin) |
| Guild command propagation | **Instant**: use in dev | `research/external/2026-05-20-discord-application-commands-spec.md` (source-repository research, not shipped with the plugin) |
| Modal custom_id max | **100 characters** | `research/external/2026-05-20-discord-components-modals.md` (source-repository research, not shipped with the plugin) |
| Buttons per message | **25 max** (5 action rows × 5 buttons) | `research/external/2026-05-20-discord-components-modals.md` (source-repository research, not shipped with the plugin) |
| Node.js minimum | **22.12.0** for discord.js | `research/external/2026-05-20-discordjs-v14-slash-commands.md` (source-repository research, not shipped with the plugin) |

---

## Critical directives (non-negotiables)

Every code sample, review comment, and recommendation from this stinger must respect:

1. **Never hardcode bot tokens or client secrets.** Use `process.env.DISCORD_TOKEN` (JS) or `os.environ["DISCORD_TOKEN"]` (Python). Tokens committed to source are harvested by secret-scanning bots immediately.
2. **Always specify the minimum required Gateway Intents.** Over-privileged intents trigger the Privileged Intent approval gate, slow verification, and increase PII exposure. See `guides/03-gateway-intents.md`.
3. **Pin SDK major versions in package manifests.** discord.js and discord.py introduce breaking changes. Unpinned installs silently break bots in CI.
4. **Surface bot-verification at 75 servers, not 100.** The verification application takes 1-5 business days; missing the gate hard-blocks new guild joins. See `guides/06-verification-checklist.md`.
5. **Register commands to a test guild during development.** Global registration has ~1 hour propagation delay; guild-scoped is instant. See `guides/02-slash-commands.md`.
6. **Do not recommend Wavelink.** It is abandoned. Use Mafic/lavalink.py (Python) or Shoukaku/Lavalink-Client (Node.js). See `guides/04-voice-pipeline.md`.
7. **All new voice code must use DAVE-compliant clients.** The DAVE E2EE protocol is mandatory in all voice channels since March 1, 2026.

---

## Guide index

| Guide | When to use |
|-------|-------------|
| `guides/00-principles.md` | Architecture decisions: gateway vs HTTP, intent scoping, token hygiene |
| `guides/01-sdk-selection.md` | Choosing between discord.js, discord.py, Serenity, and forks |
| `guides/02-slash-commands.md` | Authoring slash, user-context, message-context commands; DeferReply pattern |
| `guides/03-gateway-intents.md` | Minimum-intent discipline, privileged intents, partial intents |
| `guides/04-voice-pipeline.md` | Lavalink 4 setup, DAVE-compliant clients, queue + event model |
| `guides/05-scaling-ops.md` | Sharding, REST-only mode, rate-limit handling, container health checks |
| `guides/06-verification-checklist.md` | Bot verification step-by-step (75-server trigger, 100-server hard block) |
| `guides/07-components-modals.md` | Buttons, select menus, modals, custom_id namespacing, ephemeral flows |

---

## Template index

| Template | Purpose |
|----------|---------|
| `templates/slash-command-discord-js.ts` | Minimal idiomatic slash command for discord.js v14 |
| `templates/slash-command-discord-py.py` | Minimal idiomatic slash command using discord.py app_commands |
| `templates/voice-queue-discord-js.ts` | Lavalink 4 + Shoukaku queue stub for discord.js |
| `templates/bot-verification-checklist.md` | Fillable checklist for the 100-server verification process |
| `templates/audit-report.md` | Skeleton for a full bot audit report |

---

## Example index

| Example | Demonstrates |
|---------|-------------|
| `examples/happy-path-slash-command.md` | End-to-end: register command, handle interaction, DeferReply |
| `examples/edge-case-modal-timeout.md` | Modal flow with orphaned-interaction handling |

---

## Open questions (flagged by scripture-historian)

> **TODO: stinger-forge open questions; resolve before next refresh:**

1. **Serenity/Poise (Rust)**: API surface not fully covered in research. Guides reference Rust conceptually; confirm `poise` slash command macro syntax from `docs.rs/poise` before next refresh.
2. **DisTube DAVE support**: Not confirmed. `guides/04-voice-pipeline.md` omits DisTube from active recommendations until DAVE compatibility is verified at `github.com/skick1234/DisTube`.
3. **Lavalink 4 Docker Compose YAML**: Reference snippet not retrieved. `guides/04-voice-pipeline.md` provides the install URL; embed the snippet on next refresh.
4. **discord.js REST rate-limit knobs**: Specific `RESTOptions` fields not retrieved. `guides/05-scaling-ops.md` covers the pattern; add specific field names on next refresh.
5. **Pycord vs discord.py**: Pycord is a maintained fork with growing adoption. `guides/01-sdk-selection.md` acknowledges the fork; defaults remain the Rapptz main-line unless the user specifies Pycord.

---

## Refresh cadence

- **Trigger immediately**: discord.js v15 reaches stable; Wavelink resumes maintenance (check `github.com/PythonistaGuild/Wavelink`); Discord announces API v11.
- **Annual review**: Full `normal`-depth scripture-historian re-run.
- **Quarterly**: Skim `discord.com/developers/docs/change-log` for breaking changes.

---

*Forged by stinger-forge from `ai-tools/command-briefs/discord-bot-wasp-drone-command-brief.md` + `research/research-summary.md`. Part of The Wasp Nest, curated by [Mario Aldayuz a.k.a @thenotoriousllama](https://github.com/thenotoriousllama).*
Pliki w paczce (19)
  • README.md 1 KB
  • SKILL.md 8 KB
  • examples/edge-case-modal-timeout.md 4 KB
  • examples/happy-path-slash-command.md 3 KB
  • guides/00-principles.md 3 KB
  • guides/01-sdk-selection.md 4 KB
  • guides/02-slash-commands.md 4 KB
  • guides/03-gateway-intents.md 3 KB
  • guides/04-voice-pipeline.md 4 KB
  • guides/05-scaling-ops.md 4 KB
  • guides/06-verification-checklist.md 4 KB
  • guides/07-components-modals.md 5 KB
  • reports/README.md 1 KB
  • research/research-summary.md 6 KB
  • templates/audit-report.md 1 KB
  • templates/bot-verification-checklist.md 2 KB
  • templates/slash-command-discord-js.ts 1 KB
  • templates/slash-command-discord-py.py 1 KB
  • templates/voice-queue-discord-js.ts 2 KB

Wersje

W bazie nie ma innych skilli o nazwie discord-bot-stinger.

Migawka bazy z 13.11.2026 · wersja paczki 36606e878b9e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95discord-bot-helper
    Wspiera budowę botów Discord w discord.js v14: komendy slash, zdarzenia, komponenty, embedy i uprawnienia.
  • 100discord
    Buduje i automatyzuje integracje z Discordem: boty, webhooki, komendy slash i przepływy REST API, w tym z użyciem discord.js i discord.py.
  • 100discord-expert
    Wspiera tworzenie botów Discord w discord.js i discord.py: komendy slash, embedy, kanały głosowe, moderacja i wdrożenie bota.
  • 100discord
    Tworzy aplikację i bota Discord w discord.js 14: dobiera gateway intents, rejestruje komendy slash, odpowiada na interakcje, wysyła embedy i przyciski oraz obsługuje limity zapytań i webhooki.
  • 95discord-bot
    Podpowiada, jak budować, przeglądać, debugować i wdrażać boty Discord w różnych bibliotekach: komendy, komponenty i uprawnienia.
  • 100discord
    Wspiera tworzenie interaktywnych botów Discord w Discord.js: komendy slash, gateway intents, webhooki, embedy oraz integracje powiadomień.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.