discord-api-docs
discord-api-docs copied to clipboard
Webhook pings do not function properly in forums. Users are not notified nor are they invited in to the thread.
Description
Pinging a user or a role as intended within a body of a forum post will invite those users in to the thread and provide a standard notification. Pinging via a webook will appropriately highlight text but nobody will be invited in to the thread itself.
Steps to Reproduce
Create a script that utilizes a webhook to a forum channel type. Ping a user or a role. You will see the white dot next to the channel that there's new messages, but anyone mentioned within that thread will not be invited. I did it using google scripts from a google forms entry. Pinged myself and a specific role, neither worked.
Expected Behavior
Anybody pinged by the webhook post will be invited to the thread and receive a notification.
Current Behavior
Message is posted, text is highlighted appropriately for a ping, but the thread is empty and no notifications are received.
Screenshots/Videos
New post by the webhook application.
Manual role ping within the thread itself.
Client and System Information
Google Chrome. Version 126.0.6478.127 (Official Build) (64-bit). Windows 11.
I can reproduce this. Thank you for the report.
any updates on this issue?
A fix for this was just merged. It will be deployed in the next 24hrs
Hi @DV8FromTheWorld!
We have reason to believe the fix for this caused a regression in forum threads being created via webhooks.
After roughly a year of stability, we began experiencing this issue right around the time the fix was deployed, with nothing changing on our end.
A similar issue can be found here: https://github.com/discord/discord-api-docs/issues/6839
Pretty much on a daily basis over the last two weeks, and not once before, we now have a forum message posted via webhook where the original message is deleted, ie:
We can't reliably reproduce the issue - it just seems to happen randomly. When it does occur, no one is able to respond to these messages. We have to dig through our application database to find what their actual content should be. We've also added logging on our end and verified that our webhook code is sending stuff to Discord correctly.
Hi @DV8FromTheWorld!
We have reason to believe the fix for this caused a regression in forum threads being created via webhooks.
After roughly a year of stability, we began experiencing this issue right around the time the fix was deployed, with nothing changing on our end.
A similar issue can be found here: #6839
Pretty much on a daily basis over the last two weeks, and not once before, we now have a forum message posted via webhook where the original message is deleted, ie:
We can't reliably reproduce the issue - it just seems to happen randomly. When it does occur, no one is able to respond to these messages. We have to dig through our application database to find what their actual content should be. We've also added logging on our end and verified that our webhook code is sending stuff to Discord correctly.
We are experiencing the exact same error in our Discord server. Is anyone looking in to this? This was the only thread we could find in our extensive googling of someone with the exact same issue we were having, so hoping to find a solution here, as we are stumped!
We had to resort to disabling user pings on webhook-driven forum posts.