fixes "invalid form body" from webhook
discord doesn't let "discord" exist in webhooks anymore. end all. I may have to add a special rule to have the bot post a message instead of a webhook service if someone has "discord" in their nick.master
parent
98bb443e94
commit
ca07be9b86
|
@ -31,8 +31,8 @@ defmodule Discordirc.WebhookService do
|
|||
|
||||
case DiscordAPI.create_webhook(
|
||||
channel_id,
|
||||
%{name: "discordirc hook", avatar: avatar},
|
||||
"discordirc proxy hook"
|
||||
%{name: "irc relay hook", avatar: avatar},
|
||||
"irc relay hook"
|
||||
) do
|
||||
{:ok, hook} ->
|
||||
case state.hooks do
|
||||
|
|
Loading…
Reference in New Issue