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/emoji.mli | |
| parent | Add more docs (diff) | |
| download | disml-8662e92987c437f59d09896a247ec2b5d82c4528.tar.xz disml-8662e92987c437f59d09896a247ec2b5d82c4528.zip | |
Publish docs updates
Diffstat (limited to 'lib/models/emoji.mli')
| -rw-r--r-- | lib/models/emoji.mli | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/models/emoji.mli b/lib/models/emoji.mli index 1660719..c159a0e 100644 --- a/lib/models/emoji.mli +++ b/lib/models/emoji.mli @@ -1,16 +1,16 @@ -(** A partial emoji, used internally. *) -type partial_emoji = { - id: Snowflake.t option; - name: string; -} [@@deriving sexp, yojson] - -(** A full emoji object. *) -type t = { - id: Snowflake.t option; (** Snowflake ID of the emoji. Only exists for custom emojis. *) - name: string; (** Name of the emoji. Either the emoji custom name or a unicode character. *) - roles: Role_id.t list; (** List of roles required to use this emoji. Is only non-empty on some integration emojis. *) - user: User_t.t option; (** User object of the person who uploaded the emoji. Only exists for custom emojis. *) - require_colons: bool; (** Whether the emoji must be wrapped in colons. Is false for unicode emojis. *) - managed: bool; (** Whether the emoji is managed by an integration. *) - animated: bool; (** Whether the emoji is animated. *) +(** A partial emoji, used internally. *)
+type partial_emoji = {
+ id: Snowflake.t option;
+ name: string;
+} [@@deriving sexp, yojson]
+
+(** A full emoji object. *)
+type t = {
+ id: Snowflake.t option; (** Snowflake ID of the emoji. Only exists for custom emojis. *)
+ name: string; (** Name of the emoji. Either the emoji custom name or a unicode character. *)
+ roles: Role_id.t list; (** List of roles required to use this emoji. Is only non-empty on some integration emojis. *)
+ user: User_t.t option; (** User object of the person who uploaded the emoji. Only exists for custom emojis. *)
+ require_colons: bool; (** Whether the emoji must be wrapped in colons. Is false for unicode emojis. *)
+ managed: bool; (** Whether the emoji is managed by an integration. *)
+ animated: bool; (** Whether the emoji is animated. *)
} [@@deriving sexp, yojson]
\ No newline at end of file |