aboutsummaryrefslogtreecommitdiff
path: root/lib/models/user
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/user')
-rw-r--r--lib/models/user/presence.ml4
-rw-r--r--lib/models/user/presence.mli4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/models/user/presence.ml b/lib/models/user/presence.ml
index ab245a7..0b18a49 100644
--- a/lib/models/user/presence.ml
+++ b/lib/models/user/presence.ml
@@ -2,9 +2,9 @@ open Core
type t = {
user: User_t.partial_user;
- roles: Snowflake.t list;
+ roles: Role_id.t list;
game: Activity.t option [@default None];
- guild_id: Snowflake.t;
+ guild_id: Guild_id_t.t;
status: string;
activities: Activity.t list;
} [@@deriving sexp, yojson { strict = false}] \ No newline at end of file
diff --git a/lib/models/user/presence.mli b/lib/models/user/presence.mli
index 0582f66..13c8cf0 100644
--- a/lib/models/user/presence.mli
+++ b/lib/models/user/presence.mli
@@ -1,8 +1,8 @@
type t = {
user: User_t.partial_user;
- roles: Snowflake.t list;
+ roles: Role_id.t list;
game: Activity.t option;
- guild_id: Snowflake.t;
+ guild_id: Guild_id_t.t;
status: string;
activities: Activity.t list;
} [@@deriving sexp, yojson] \ No newline at end of file