aboutsummaryrefslogtreecommitdiff
path: root/lib/models/gen/presence.atd
blob: da9b3fda56ecb1369595b08382c041dcbe9657ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
type snowflake <ocaml from="Snowflake" t="t"> = abstract
type user <ocaml from="User" t="t"> = abstract
type partial_user <ocaml from="User" t="partial_user"> = abstract
type activity <ocaml from="Activity" t="t"> = abstract

type t = {
    user: partial_user;
    roles: snowflake list;
    ?game: activity option;
    guild_id: snowflake;
    status: string;
    activities: activity list;
}