jarle/bun-skills/bun-guides-ecosystem-discordjs
Claude Code and agent skill by jarle/bun-skills
- community
Checking that the SKILL.md file is still in the repository.
Create a Discord bot
Install
npx vskill@latest install jarle/bun-skills/bun-guides-ecosystem-discordjsSKILL.md
The same SKILL.md was published earlier as jarle/bun-skills/bun-guides-ecosystem-discordjs.
Create a Discord bot
Discord.js works out of the box with Bun. Let's write a simple bot. First create a directory and initialize it with bun init.
Now install Discord.js.
Before we go further, we need to go to the Discord developer portal, login/signup, create a new Application, then create a new Bot within that application. Follow the official guide for step-by-step instructions.
Once complete, you'll be presented with your bot's private key. Let's add this to a file called .env.local. Bun automatically reads this file and loads it into process.env.
<Note>This is an example token that has already been invalidated.</Note>
Be sure to add .env.local to your .gitignore! It is dangerous to check your bot's private key into version control.
Now let's actually write our bot in a new file called bot.ts.
Now we can run our bot with bun run. It may take a several seconds for the client to initialize the first time you run the file.
You're up and running with a bare-bones Discord.js bot! This is a basic guide to setting up your bot with Bun; we recommend the official discord.js docs for complete information on the discord.js API.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bun-guides-ecosystem-discordjs/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 1
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jarle/bun-skills/bun-guides-ecosystem-discordjs)