diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-27 14:09:33 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-27 14:09:33 -0700 |
| commit | fbd3597c7ab798cf10a447eb2b477dd4e3ed6d33 (patch) | |
| tree | 16d1ef889e9c6f1090dd911e6fb31392625066c2 /lib/models/guild/guild_t.mli | |
| parent | hopeful reconnection fix (diff) | |
| download | disml-fbd3597c7ab798cf10a447eb2b477dd4e3ed6d33.tar.xz disml-fbd3597c7ab798cf10a447eb2b477dd4e3ed6d33.zip | |
Switch to ID abstractions internally
Diffstat (limited to 'lib/models/guild/guild_t.mli')
| -rw-r--r-- | lib/models/guild/guild_t.mli | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/models/guild/guild_t.mli b/lib/models/guild/guild_t.mli index 8fdd9a7..0b1ec92 100644 --- a/lib/models/guild/guild_t.mli +++ b/lib/models/guild/guild_t.mli @@ -3,16 +3,16 @@ type unavailable = { } [@@deriving sexp, yojson] type pre = { - id: Snowflake.t; + id: Guild_id_t.t; name: string; icon: string option; splash: string option; - owner_id: Snowflake.t; + owner_id: User_id_t.t; region: string; - afk_channel_id: Snowflake.t option; + afk_channel_id: Channel_id_t.t option; afk_timeout: int; embed_enabled: bool option; - embed_channel_id: Snowflake.t option; + embed_channel_id: Channel_id_t.t option; verification_level: int; default_message_notifications: int; explicit_content_filter: int; @@ -32,16 +32,16 @@ type pre = { } [@@deriving sexp, yojson] type t = { - id: Snowflake.t; + id: Guild_id_t.t; name: string; icon: string option; splash: string option; - owner_id: Snowflake.t; + owner_id: User_id_t.t; region: string; - afk_channel_id: Snowflake.t option; + afk_channel_id: Channel_id_t.t option; afk_timeout: int; embed_enabled: bool option; - embed_channel_id: Snowflake.t option; + embed_channel_id: Channel_id_t.t option; verification_level: int; default_message_notifications: int; explicit_content_filter: int; |