
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
@corwinjs/rpcord
Advanced tools
Module to interact with local Discord Client using IPC.
Read the docs here.
You can install from NPM.
npm i rpcord
const { RPClient, Presence } = require("rpcord");
const rpc = new RPClient("803507787497865226");
rpc.on("ready", () => {
console.log("Connected!");
});
rpc.connect().then(() => {
rpc.setActivity(
new Presence()
.setLargeImage("discord")
.setDetails("Nothing")
.setState("Idling")
.setStartTimestamp(Date.now())
.setPartyID("12345")
.setPartySize(1, 2)
.addButton({
label: "RPCord Repo",
url: "https://github.com/DjDeveloperr/RPCord",
})
.addButton({
label: "RPCord NPM",
url: "https://npmjs.org/package/rpcord",
})
);
});
Or an advanced one!
const { RPClient } = require("rpcord");
const rpc = new RPClient("client_id", {
secret: "client_secret",
scopes: ["rpc", "messages.read"],
});
rpc.on("ready", () => {
console.log("Connected!");
});
rpc.on("messageCreate", console.log);
rpc.connect().then(() => {
rpc.authorize().then(() => {
rpc.subscribe("MESSAGE_CREATE", { channel_id: "channel_id" });
});
});
For now, OAuth only works if you have at least one Redirect URI set in Developer Portal.
You're always welcome to contribute!
Check LICENSE for more info.
Copyright 2021 @ DjDeveloperr
FAQs
Module to interact with Discord IPC.
We found that @corwinjs/rpcord demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.