// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/gateway/status_update.ts import { Activity } from "../activity/activity.ts"; import { DiscordStatusTypes } from "./status_types.ts"; /** https://discord.com/developers/docs/topics/gateway#update-status */ export interface StatusUpdate { /** Unix time (in milliseconds) of when the client went idle, or null if the client is not idle */ since: number | null; /** The user's activities */ activities: Activity[]; /** The user's new status */ status: DiscordStatusTypes; /** Whether or not the client is afk */ afk: boolean; }