Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method ClientUser.prototype.clearActivity
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.25/src/structures/ClientUser.ts";

Used to clear a user's Rich Presence.

Parameters

optional
pid: number
  • the application's process id

Returns

Promise<void>