swc/crates/swc_bundler/tests/.cache/deno/6103727928261a8778943e8fa60d98a437ea745a.ts
2021-11-09 20:42:49 +09:00

18 lines
611 B
TypeScript

// 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;
}