mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
18 lines
611 B
TypeScript
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;
|
||
|
}
|