0.0.1-beta
port of @xhayper/discord-rpc to deno
Repository
Current version released
2 years ago
About
discord-rpc-deno
is a port of @xhayper/discord-rpc to deno.
Example
import { Client } from "https://raw.githubusercontent.com/xhayper/discord-rpc-deno/main/src/mod.ts";
const client = new Client({
clientId: "123456789012345678"
});
client.on("ready", () => {
client.user?.setActivity({
state: "Hello, world!"
});
});
client.login();
Complatibility
OS | Normal | Snap |
---|---|---|
Windows | Y | - |
macOS | Y | - |
Linux | Y | Y |
- Linux is tested on Kubuntu 22.04
Missing Features, Need someone to contribute
- Automatically update data object (use Event Subscription)
- Undocumented methods
Credits
- discordjs: Making discordjs/RPC
- JakeMakesStuff: Snap Support
- Snazzah: Snap Support
- leonardssh: Making coc-discord-rpc which inspried me to make this package due to how old discordjs/RPC is