aboutsummaryrefslogtreecommitdiff
path: root/bin/bot.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-02-20 10:17:05 -0700
committerAdelyn Breedlove <[email protected]>2019-02-20 10:17:05 -0700
commit9c31ba2ed2d876c869ea26fbdeca6bbe7986fe4f (patch)
treec23658b58065b79794dff3fd6bb02335feb20db7 /bin/bot.ml
parentFix permissions and add more conversions (diff)
downloaddisml-9c31ba2ed2d876c869ea26fbdeca6bbe7986fe4f.tar.xz
disml-9c31ba2ed2d876c869ea26fbdeca6bbe7986fe4f.zip
Add permission test command
Diffstat (limited to 'bin/bot.ml')
-rw-r--r--bin/bot.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bot.ml b/bin/bot.ml
index aa46c60..f50c262 100644
--- a/bin/bot.ml
+++ b/bin/bot.ml
@@ -22,6 +22,7 @@ let check_command (message:Message.t) =
| "!new" -> Commands.new_guild message rest
| "!delall" -> Commands.delete_guilds message rest
| "!roletest" -> Commands.role_test message rest
+ | "!perms" -> Commands.check_permissions message rest
| _ -> () (* Fallback case, no matched command. *)
(* Example logs setup *)