(Double check): Add Activity type

This commit is contained in:
Will Hoskings
2020-02-11 18:24:24 +00:00
parent 655df25d57
commit 269142165e
+20
View File
@@ -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
}