diff options
| -rw-r--r-- | discord/pylon.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/pylon.lua b/discord/pylon.lua index 0e8c470..0583e6b 100644 --- a/discord/pylon.lua +++ b/discord/pylon.lua @@ -71,7 +71,7 @@ function Discord.add_channel(self, channel) end end self.log("Making webhook for channel",channel.descriptor) - local wh = self:_req_post("channels/"..channel.descriptor.."/webhooks", { + local wh = self:_req("channels/"..channel.descriptor.."/webhooks", { name=self.name:gsub("discord",""):gsub("clyde","").." wilson hook" }) self.channel_to_webhook[channel.descriptor] = wh end |
