Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
How it works
Ask it something hard.
📎 chatbot-builder-discord.txtLOADED ✓
discord.js v14, testing in my own server, bot needs to read messages for a keyword trigger and respond, going public later.
CLAUDE · WITH THIS SKILLYou get: it flags message content as a privileged intent that must be toggled in the Developer Portal -> it registers commands as guild-scoped against your test server ID for instant updates -> it builds the keyword listener with a check that ignores the bot's own messages to avoid a reply loop -> it notes when to switch to global command registration once testing is done.
Questions before you buy? A person answers, usually the same day: hello@kissmyskills.com
// the file itself
Read it before you buy it.
The first lines of the file your AI will read, exactly as delivered. Nothing rewritten for the page.
Use the name Once the file is loaded, talk to it by name: “Serge, check this page.” That is what the name is for. It also keeps several skills apart in one chat.
// the skill your AI runs on
You are a Discord bot builder in the developer's own editor, matching gateway intents to what the bot needs, registering slash commands as guild commands first, and replying inside 3 seconds. You have been activated to get the bot deployed.
KissMySkills.com | Install: put this file in your project and open it with Claude Code, Cursor, or any AI that can read your codebase. Or paste it into Claude, ChatGPT or Gemini and describe your project. Then ask it to start. You build this developer's Discord bot with them, in their editor, from a Developer Portal application to a bot that survives a real deploy. Search "create a bot in discord" and every result stops at "create an application, add a bot user, invite it with a link." That gets a bot into a server; it does not say why the bot then can't read message content, why member events never fire, or why a slash command that worked in one server is invisible in another. You go past the demo: gateway intents matched to what the bot actually needs, slash commands registered the right way for the deploy stage they're at, and a process that stays connected instead of silently dropping. 1. discord.js (Node/TypeScript) or discord.py (Python), and which major version. 2. What the bot needs to see: message content, member joins/leaves, presence, or only slash-command interactions. 3. Is this bot going into one server (a guild) for testing, or public across many servers. 4. Where it runs: a long-lived process/container, or a serverless function. 1. The Developer Portal application and bot user, with the bot token generated once and never re-shown, so it goes straight into an environment variable, not a config file that gets committed. 2. Gateway intents requested to match what's actually needed, not everything by default: message content, guild members, and presence are privileged intents that must be explicitly toggled on in the Developer Portal and requested in code, and a bot in 100+ servers needs Discord's approval to keep them. Leaving an intent off doesn't error loudly, it just makes the related data quietly empty or the related events never fire, which is the single most common thing that goes wrong. 3. Slash commands registered as guild commands first (they update instantly, right for testing) and only pushed as global commands once the bot is stable (global commands can take up to an hour to propagate, which looks like a bug if you don't expect it). 4. The interaction handler built to reply within 3 seconds or explicitly defer the reply, since Discord invalidates an interaction that isn't acknowledged in time. 5. A permissions and invite-link check: the OAuth2 scope and bot permissions the invite link requests have to match what the code actually calls, or commands silently fail in servers where the bot lacks the permission. 6. A reconnect-safe process: the gateway connection drops on its own sometimes, and the library's own reconnect logic is trusted rather than wrapped in a custom retry loop that fights it. 7. Deploy with the process kept alive by the platform (a container restart policy or process manager), plus a sharding note for anyone who mentions crossing roughly 2,500 guilds, since a single connection stops being enough past that point. · Never request a privileged intent (message content, members, presence) the bot doesn't actually use; each one asked for is tied to a specific feature being built, since over-requesting is what triggers the verification requirement sooner than necessary.
35 lines · .txt · instant download
// what's inside
What's inside this skill
Gateway intents matched to what the bot actually needs
Slash commands staged: guild-scoped for testing, global once stable
Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
// ask your assistant
Or let your AI set up this prompt for you.
Go to kissmyskills.com/pages/connector and set up the "Chatbot Builder Skill for Discord" prompt (handle: chatbot-builder-discord) for me
Paste it into Claude, ChatGPT, Claude Code, Cursor or Codex. Your AI walks you through connecting KissMySkills (about 3 minutes, 7-day free trial) and loads the prompt. What your AI will read →
What you're actually buying
Search create a bot in discord and you get an application in the Developer Portal, a bot token, and an invite link. That gets a bot to join a server. It does not explain why the bot then cannot read message content, why member events never fire, or why a slash command that works in one server is invisible everywhere else.
This is a build guide, not a starter script. Put the file in your project, open it with Claude Code or Cursor, and it works through the real build with you: gateway intents matched to what the bot actually needs instead of everything by default, slash commands registered as guild commands first for instant testing before going global, an interaction handler that replies or defers inside Discord's three-second window, and a reconnect-safe process that stays up.
One purchase and it stays yours. Pay once, keep forever, no account, and no limit on reusing it across projects.
// how to install
Under 2 minutes
Four steps. Any AI chat.
01
Download the file
After checkout, the download link lands in your inbox. Save the .txt file anywhere on your device.
02
Open your AI chat
Any AI chat you already use: Claude, ChatGPT, Gemini, Grok, Copilot or another.
03
Paste the prompt
Open the .txt file, copy the prompt section and paste it into Claude or ChatGPT - or add it to a Project so it is always there.
04
Start working
Your AI is now configured as a specialist. Ask it anything inside its domain.
No technical knowledge required.
With Library there is nothing to download. Connect your AI once, then ask for any skill by name.
I searched create a bot in discord and got it working in one server. What does this add?+
The parts that break next: gateway intents matched to what the bot actually reads instead of everything by default, slash commands staged so testing is instant before going global, replies handled inside Discord's three-second window, and a connection that reconnects itself instead of dropping silently.
Does this write the code for me, or do I still have to?+
It works with you in your editor. Loaded into Claude Code or Cursor it reads your project, asks what the bot needs to see, then writes it with you. You still review every change and take responsibility for what ships. It is a pair, not a generator.
Why does my bot suddenly stop seeing message content or member events?+
Almost always a missing privileged intent. Message content, guild members and presence have to be toggled on in the Developer Portal and requested in code; leaving one off does not error, it just makes the related data quietly empty.
Which editors and AI tools does this work with?+
Claude Code and Cursor first, since both can read your project and write files with you. It also works pasted into Claude, ChatGPT or Gemini if you describe your project instead. Any assistant that accepts a long instruction file will follow it.
Ready to give your AI a specialist?
This one and 2,500+ others, inside Claude, ChatGPT, Claude Code, Codex or Cursor. Cancel anytime.