Skip to main content
Go to Latest
method ClientUser.prototype.clearActivity
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.17/src/structures/ClientUser.ts";

Used to clear a user's Rich Presence.

Parameters

optional
pid: number
  • the application's process id

Returns

Promise<void>