discord-bot-architect
本番環境向けDiscord Botの構築
Discord botプロジェクトは、intents、interactions、sharding、トークン処理の周辺で失敗しがちです。このスキルは、信頼性の高いbotのためのDiscord.jsとPycordのパターンを提供します。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "discord-bot-architect" from https://skillstore.io/skills/sickn33-discord-bot-architect.md and its manifest at https://skillstore.io/api/skills/sickn33-discord-bot-architect/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「discord-bot-architect」を使用しています。 スラッシュコマンドとボタンを備えたDiscord.js botが必要です。
期待される結果:
コマンドフォルダー、イベントハンドラー、コンポーネントフロー、必要なintents、デプロイ手順を含むプロジェクト計画。
「discord-bot-architect」を使用しています。 スラッシュコマンドで、アプリケーションが応答しなかったと表示されます。
期待される結果:
3秒以内に応答するルール、返信を遅延させるタイミング、フォローアップメッセージの送信方法を含む診断。
「discord-bot-architect」を使用しています。 自分のbotがDiscordのシャーディングしきい値に近づいています。
期待される結果:
シャード数、プロセス構成、gateway制限、シャード間データアクセスに関するスケーリングチェックリスト。
セキュリティ監査
安全All 184 static detections are false positives from documentation examples. Dynamic imports use fixed local project directories, shard spawning uses Discord.js ShardingManager, and credential examples use environment variables only for Discord authentication. No prompt injection, data exfiltration, shell execution, or reconnaissance intent was found.
リスク要因
⚡ スクリプトを含む (3)
⚙️ 外部コマンド (50)
🌐 ネットワークアクセス (7)
📁 ファイルシステムへのアクセス (6)
🔑 環境変数 (36)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/sickn33-discord-bot-architect/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/sickn33-discord-bot-architect?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/sickn33-discord-bot-architect?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-discord-bot-architect/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/sickn33-discord-bot-architect.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
sickn33. (2026). discord-bot-architect security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-discord-bot-architect/audits/5BibTeX形式の引用
@techreport{sickn33-sickn33-discord-bot-architect-2026,
author = {sickn33},
title = {discord-bot-architect security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-discord-bot-architect/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "discord-bot-architect security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/sickn33-discord-bot-architect/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-discord-bot-architect:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 高作成できるもの
JavaScript Botを始める
コマンドフォルダー、イベントハンドラー、デプロイスクリプトを備えたDiscord.js v14プロジェクトを作成します。
Python Botを構築する
スラッシュコマンド、cogs、embeds、インタラクションレスポンスにPycordのパターンを使用します。
既存Botをスケールする
レート制限処理、シャーディング、遅延レスポンス、より安全なトークン管理を計画します。
これらのプロンプトを試す
1つのスラッシュコマンド、最小限のintents、独立したコマンドデプロイスクリプトを備えた基本的なDiscord botをDiscord.js v14で作成してください。
ボタン、セレクトメニュー、モーダルを使用するDiscordコマンドを設計してください。エラーハンドリングとインタラクションのタイムアウトを含めてください。
このDiscord botの動作をレビューし、スラッシュコマンドが表示されない原因、インタラクションのタイムアウト、無効なトークンエラーの考えられる原因を説明してください。
2500を超えるguilds向けに、シャーディング、レート制限処理、コマンドデプロイワークフロー、トークン安全性を備えたDiscord botを設計してください。
ベストプラクティス
- 可能な場合は、メッセージ内容の解析ではなくスラッシュコマンドとコンポーネントを使用します。
- データベース、API、ファイル、LLM処理の前に、時間のかかるインタラクションを遅延させます。
- botトークンは環境変数に保存し、環境ファイルはGitに含めないようにします。
回避
- bot起動のたびにグローバルスラッシュコマンドを同期しないでください。
- botが明確に必要としていない限り、privileged intentsを要求しないでください。
- 本番環境の処理経路で同期的なファイル処理によってイベントループをブロックしないでください。