diff options
| author | Adelyn Breelove <[email protected]> | 2019-02-25 09:17:17 -0700 |
|---|---|---|
| committer | Adelyn Breelove <[email protected]> | 2019-02-25 09:17:17 -0700 |
| commit | 54830153a07f466cd20b25f12847ba447be4ecc5 (patch) | |
| tree | c70fb3ef5ba67d5f5f820fddfba32e14fb2b368b /lib/models/channel/channel_t.mli | |
| parent | tidy add_seq (diff) | |
| download | disml-54830153a07f466cd20b25f12847ba447be4ecc5.tar.xz disml-54830153a07f466cd20b25f12847ba447be4ecc5.zip | |
Add permission overwrites
Diffstat (limited to 'lib/models/channel/channel_t.mli')
| -rw-r--r-- | lib/models/channel/channel_t.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/models/channel/channel_t.mli b/lib/models/channel/channel_t.mli index 4193c47..c6c6a0b 100644 --- a/lib/models/channel/channel_t.mli +++ b/lib/models/channel/channel_t.mli @@ -30,6 +30,7 @@ type guild_text = { topic: string option;
nsfw: bool;
slow_mode_timeout: int option;
+ permission_overwrites: Overwrites.t list;
} [@@deriving sexp, yojson { exn = true }]
(** Represents a voice channel in a guild. *)
@@ -41,6 +42,7 @@ type guild_voice = { position: int;
user_limit: int;
bitrate: int option;
+ permission_overwrites: Overwrites.t list;
} [@@deriving sexp, yojson { exn = true }]
(** Represents a guild category. *)
@@ -49,6 +51,7 @@ type category = { guild_id: Guild_id_t.t option;
position: int;
name: string;
+ permission_overwrites: Overwrites.t list;
} [@@deriving sexp, yojson { exn = true }]
(** Wrapper variant for all channel types. *)
@@ -79,6 +82,7 @@ type channel_wrapper = { application_id: Snowflake.t option;
category_id: Channel_id_t.t option;
last_pin_timestamp: string option;
+ permission_overwrites: Overwrites.t list;
} [@@deriving sexp, yojson { exn = true }]
val unwrap_as_guild_text : channel_wrapper -> guild_text
|