mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
(Double check): Add Activity type
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { Timestamps } from "../types/discord.ts";
|
||||
|
||||
export interface ActivityPayload {
|
||||
/** The activity's name */
|
||||
name: string;
|
||||
|
||||
/** */
|
||||
type: number;
|
||||
url?: string;
|
||||
created_at: number;
|
||||
timestamps: Timestamps;
|
||||
details?: string;
|
||||
}
|
||||
|
||||
export enum ActivityType {
|
||||
Game,
|
||||
Streaming,
|
||||
Listening,
|
||||
Custom = 4
|
||||
}
|
||||
Reference in New Issue
Block a user