diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-28 10:31:51 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-28 10:31:51 -0700 |
| commit | 8662e92987c437f59d09896a247ec2b5d82c4528 (patch) | |
| tree | f004cc14598351d4ad6b19d8e993d2f629c5e738 /lib/models/user/user_t.mli | |
| parent | Add more docs (diff) | |
| download | disml-8662e92987c437f59d09896a247ec2b5d82c4528.tar.xz disml-8662e92987c437f59d09896a247ec2b5d82c4528.zip | |
Publish docs updates
Diffstat (limited to 'lib/models/user/user_t.mli')
| -rw-r--r-- | lib/models/user/user_t.mli | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/models/user/user_t.mli b/lib/models/user/user_t.mli index 694fc1e..645df3e 100644 --- a/lib/models/user/user_t.mli +++ b/lib/models/user/user_t.mli @@ -1,13 +1,13 @@ -(** A partial user. Used internally. *) -type partial_user = { - id: User_id_t.t; -} [@@deriving sexp, yojson] - -(** A user object. *) -type t = { - id: User_id_t.t; (** The user's Snowflake ID, wrapped in the convenience [`User_id] type. *) - username: string; (** The username of the user. *) - discriminator: string; (** The 4 digits, as a string, that come after the '#' in a Discord username. *) - avatar: string option; (** The hash of the user avatar, if they have one set. See {!User.face} to get the avatar URL. *) - bot: bool; (** Whether the user is a bot. *) +(** A partial user. Used internally. *)
+type partial_user = {
+ id: User_id_t.t;
+} [@@deriving sexp, yojson]
+
+(** A user object. *)
+type t = {
+ id: User_id_t.t; (** The user's Snowflake ID, wrapped in the convenience [`User_id] type. *)
+ username: string; (** The username of the user. *)
+ discriminator: string; (** The 4 digits, as a string, that come after the '#' in a Discord username. *)
+ avatar: string option; (** The hash of the user avatar, if they have one set. See {!User.face} to get the avatar URL. *)
+ bot: bool; (** Whether the user is a bot. *)
} [@@deriving sexp, yojson]
\ No newline at end of file |