fix(bot): return message only when successful
This makes create_message
only return the response when it is successfull (When the response returns 200 to be specific). Instead of regardless of what happens.
This initially returned something along the lines of {"error" => "error message"}
, which makes it look like it is a success. In future, it will make use of Log
that is implemented in #1 once merged.