aboutsummaryrefslogtreecommitdiff
path: root/lib/models/guild/ban_t.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-21 08:52:33 -0700
committerAdelyn Breelove <[email protected]>2019-01-21 08:52:33 -0700
commitc3d6e15bb89d4a93a2fa486db6c8e126baf4da2e (patch)
tree3fe6679ff4520899bab9ab9fb96145efd614a3a3 /lib/models/guild/ban_t.ml
parentswap order of fields in example bot to reflect correct ordering (diff)
downloaddisml-c3d6e15bb89d4a93a2fa486db6c8e126baf4da2e.tar.xz
disml-c3d6e15bb89d4a93a2fa486db6c8e126baf4da2e.zip
folder restructure
Diffstat (limited to 'lib/models/guild/ban_t.ml')
-rw-r--r--lib/models/guild/ban_t.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/models/guild/ban_t.ml b/lib/models/guild/ban_t.ml
new file mode 100644
index 0000000..b49eefc
--- /dev/null
+++ b/lib/models/guild/ban_t.ml
@@ -0,0 +1,6 @@
+open Core
+
+type t = {
+ reason: string [@default ""];
+ user: User_t.t;
+} [@@deriving sexp, yojson { strict = false}] \ No newline at end of file