aboutsummaryrefslogtreecommitdiff
path: root/lib/models/presence.atd
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/presence.atd')
-rw-r--r--lib/models/presence.atd13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/models/presence.atd b/lib/models/presence.atd
new file mode 100644
index 0000000..c455fec
--- /dev/null
+++ b/lib/models/presence.atd
@@ -0,0 +1,13 @@
+type user <ocaml from="User" t="t"> = abstract
+type role <ocaml from="Role" t="t"> = abstract
+type activity <ocaml from="Activity" t="t"> = abstract
+type guild <ocaml from="Guild" t="t"> = abstract
+
+type t = {
+ user: user;
+ roles: role list;
+ ?game: activity option;
+ guild: guild;
+ status: string;
+ activities: activity list;
+} \ No newline at end of file