summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-09-13 15:26:31 +0100
committerrebecca <ubq323@ubq323.website>2026-09-13 15:26:31 +0100
commit57b7cec33e32f02fe67de91aec66662b6ae5c6ab (patch)
treefdbcf9fd39856ef1cc3242e77a73ebbbd2206fa0
parentdbb98dbb0233f8d9fd6a31849de4e297d838189a (diff)
oops
-rw-r--r--discord/pylon.lua2
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