Skip to content

ciderapp/discord-rpc

 
 

Repository files navigation


@xhayper/discord-rpc


npm version discord

About

@xhayper/discord-rpc is a fork of discordjs/RPC with type safety and some additional features.

Example

import { Client } from "@xhayper/discord-rpc";

const client = new Client({
    clientId: "123456789012345678"
});

client.on("ready", () => {
    client.user?.setActivity({
        state: "Hello, world!"
    });
});

client.login();

Credits

About

a fork of a fork of discordjs/RPC (maybe even another fork)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%