aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-02-11 17:23:59 +0000
committerAdelyn Breedlove <[email protected]>2019-02-11 17:23:59 +0000
commit871b593c10cc1c12df732bf78031a172592e7535 (patch)
tree5a1b165b597fc1ad4167115d9a23b12852a4636b /README.md
parentMerge branch 'sharder_fixes' into 'master' (diff)
parentAdd a cache (diff)
downloaddisml-871b593c10cc1c12df732bf78031a172592e7535.tar.xz
disml-871b593c10cc1c12df732bf78031a172592e7535.zip
Merge branch 'add_cache' into 'master'
Add a cache See merge request Mishio595/disml!16
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index e151d5d..396c77c 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ open Disml
open Models
(* Create a function to handle message_create. *)
-let check_command (Event.MessageCreate.{message}) =
+let check_command (message:Message.t) =
if String.is_prefix ~prefix:"!ping" message.content then
Message.reply message "Pong!" >>> ignore