Skip to main content
Module

x/denord/mod.ts>PresenceUpdateEvent

🗣 Discord API module
Latest
interface PresenceUpdateEvent
import { type PresenceUpdateEvent } from "https://deno.land/x/denord@0.1.0/mod.ts";

Properties

user: User

the user presence is being updated for

roles: RoleId[]

roles this user is in

optional
game: Activity

null, or the user's current activity

guildId: GuildId

id of the guild

either "idle", "dnd", "online", or "offline"

activities: Activity[]

user's current activities

clientStatus: ClientStatus

user's platform-dependent status

optional
premiumSince: Date

when the user started boosting the guild (ISO8601 timestamp)

optional
nick: string

this users guild nickname (if one is set)