From af684566617ebce536e9f30693aa3e225af906c4 Mon Sep 17 00:00:00 2001 From: Adelyn Breelove Date: Fri, 14 Dec 2018 10:52:36 -0700 Subject: There's a lot going on --- lib/models/gen/channel.atd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 lib/models/gen/channel.atd (limited to 'lib/models/gen/channel.atd') diff --git a/lib/models/gen/channel.atd b/lib/models/gen/channel.atd new file mode 100644 index 0000000..6ab58cf --- /dev/null +++ b/lib/models/gen/channel.atd @@ -0,0 +1,19 @@ +type snowflake = abstract +type user = abstract + +type t = { + id: snowflake; + kind : int; + ?guild_id: snowflake option; + ?position: int option; + ?name: string option; + ?topic: string option; + ?nsfw: bool option; + ?bitrate: int option; + ?user_limit: int option; + ?recipients: user list option; + ?icon: string option; + ?owner_id: snowflake option; + ?application_id: snowflake option; + ?parent_id: snowflake option; +} \ No newline at end of file -- cgit v1.2.3