Skip to main content
Deno 2 is finally here 🎉️
Learn more

discord_rpc_deno


deno discord license

About

discord_rpc_deno is a port of @xhayper/discord-rpc to deno.

Looking for NodeJS version? Check @xhayper/discord-rpc!

Example

import { Client } from "https://deno.land/x/discord_rpc_deno@0.0.3-beta/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