
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@draftbot/proxy-container
Advanced tools
Lightweight HTTP proxy for Discord's API, brought to you as a container 📦
@draftbot/proxy-container
- Lightweight HTTP proxy for Discord's API, brought to you as a container 📦
Quickly spin up an instance:
docker run -d --restart unless-stopped --name proxy -p 127.0.0.1:8080:8080 DraftBot/proxy
Use it:
import { Client } from 'discord.js';
const client = new Client({
// other options,
rest: {
api: 'http://localhost:8080/api',
},
});
Or with just @draftbot/rest
:
import { REST } from '@draftbot/rest';
const rest = new REST({
api: 'http://localhost:8080/api',
});
Do note that you should not use the same proxy with multiple bots. We cannot guarantee you won't hit rate limits. Webhooks with tokens or other requests that don't include the Authorization header are okay, though!
Before creating an issue, please ensure that it hasn't already been reported/suggested. See the contribution guide if you'd like to submit a PR.
If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official discord.js Server.
FAQs
Lightweight HTTP proxy for Discord's API, brought to you as a container 📦
We found that @draftbot/proxy-container demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.