diff options
| author | Adelyn Breedlove <[email protected]> | 2019-02-11 17:23:59 +0000 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-02-11 17:23:59 +0000 |
| commit | 871b593c10cc1c12df732bf78031a172592e7535 (patch) | |
| tree | 5a1b165b597fc1ad4167115d9a23b12852a4636b /lib/models/guild/guild_t.mli | |
| parent | Merge branch 'sharder_fixes' into 'master' (diff) | |
| parent | Add a cache (diff) | |
| download | disml-871b593c10cc1c12df732bf78031a172592e7535.tar.xz disml-871b593c10cc1c12df732bf78031a172592e7535.zip | |
Merge branch 'add_cache' into 'master'
Add a cache
See merge request Mishio595/disml!16
Diffstat (limited to 'lib/models/guild/guild_t.mli')
| -rw-r--r-- | lib/models/guild/guild_t.mli | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/models/guild/guild_t.mli b/lib/models/guild/guild_t.mli index 89cf9a2..7327be9 100644 --- a/lib/models/guild/guild_t.mli +++ b/lib/models/guild/guild_t.mli @@ -1,5 +1,6 @@ type unavailable = {
id: Guild_id_t.t;
+ unavailable: bool;
} [@@deriving sexp, yojson { exn = true }]
(** Used internally. *)
@@ -26,7 +27,6 @@ type pre = { widget_channel_id: Channel_id_t.t option;
system_channel_id: Channel_id_t.t option;
large: bool;
- unavailable: bool;
member_count: int option;
members: Member_t.member list;
channels: Channel_t.channel_wrapper list;
@@ -56,7 +56,6 @@ type t = { widget_channel_id: Channel_id_t.t option; (** The channel ID for the widget, if enabled. *)
system_channel_id: Channel_id_t.t option; (** The channel ID where system messages are sent. *)
large: bool; (** Whether the guild exceeds the configured large threshold. *)
- unavailable: bool; (** Whether the guild is unavailable or not. *)
member_count: int option; (** Total number of members in the guild. *)
members: Member_t.t list; (** List of guild members. *)
channels: Channel_t.t list; (** List of guild channels. *)
|