aboutsummaryrefslogtreecommitdiff
path: root/lib/s.ml
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-28 09:48:49 -0700
committerAdelyn Breelove <[email protected]>2019-01-28 09:48:49 -0700
commitf43c41dcf56a30f3fac0de07349b2c505203c380 (patch)
tree2d2e228a2dd1cd489927cfec547494a433bded42 /lib/s.ml
parentFix Message.t.mentions (diff)
downloaddisml-f43c41dcf56a30f3fac0de07349b2c505203c380.tar.xz
disml-f43c41dcf56a30f3fac0de07349b2c505203c380.zip
Add more docs
Diffstat (limited to 'lib/s.ml')
-rw-r--r--lib/s.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/s.ml b/lib/s.ml
index 64a3d17..85256cd 100644
--- a/lib/s.ml
+++ b/lib/s.ml
@@ -22,7 +22,7 @@ module type ChannelImpl = sig
let check_command (msg : Message.t) =
if String.is_prefix ~prefix:"!hello" msg.content then
let embed = Embed.(default |> title "Hello World!") in
- Channel.send_message ~embed msg.channel >>> ignore
+ Channel_id.send_message ~embed msg.channel_id >>> ignore
Client.message_create := check_command
]}