discord-rich-presence-typescript
Advanced tools
Weekly downloads
Readme
this is an fork from devsnek/discord-rich-presence just with typescript support
A simple wrapper around discord-rpc
const client = require("discord-rich-presence-typescript")(
"180984871685062656"
);
client.updatePresence({
state: "slithering",
details: "🐍",
startTimestamp: Date.now(),
endTimestamp: Date.now() + 1337,
largeImageKey: "snek_large",
smallImageKey: "snek_small",
instance: true,
});
In browser you can import/require it as discord-rich-presence-typescript/browser
.
However, it should be noted that currently using rich presence in browser is
a feature whitelisted by Discord, and you will most likely be unable to use it.
FAQs
rich presence wrapper for discord-rpc
The npm package discord-rich-presence-typescript receives a total of 597 weekly downloads. As such, discord-rich-presence-typescript popularity was classified as not popular.
We found that discord-rich-presence-typescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.