diff --git a/lib/discord.ex b/lib/discord.ex
index ee1615a..0af48cb 100644
--- a/lib/discord.ex
+++ b/lib/discord.ex
@@ -8,7 +8,7 @@ defmodule Discord do
else
inspect(params.reason)
end
- stack = Stack.to_string(stack)
+ stack = Stack.to_string(params.stack)
message = %{content: "```#{params.kind} #{reason}\n\n#{stack}```"}
json = Jason.encode!(message)
HTTPoison.post(url, json, [{"Content-Type", "application/json"}])