aboutsummaryrefslogtreecommitdiff
path: root/lib/command/util.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command/util.ex')
-rw-r--r--lib/command/util.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command/util.ex b/lib/command/util.ex
index d47dd59..36447cc 100644
--- a/lib/command/util.ex
+++ b/lib/command/util.ex
@@ -13,7 +13,7 @@ defmodule Thulani.Command.Util do
},
msg
)
- when is_bitstring(msg) do
+ when is_binary(msg) do
Api.create_message(channel_id, content: msg)
end