Commit 5f10e719 authored by Peter van der meulen's avatar Peter van der meulen

Postworker was failing

parent 81b18a6d
......@@ -27,8 +27,6 @@ defmodule SnugglesApp.Discord.PostWorker do
msg.channel_id == @admin_channel_id ->
{:ok, _} = RabbitService.publish_json("account.events", strip_message(msg, "admin"))
corp_creation_message?(msg) ->
IO.puts(msg.content)
IO.puts(msg.mention_roles)
{:ok, _} = RabbitService.publish_json("account.events", strip_corp_message(msg))
to_snuggles?(msg.mentions) ->
Api.create_message(msg.channel_id, "I don't understand that. Sorry")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment