Jump to content

Discord Webhook doesn't work on latest version

No Response 2.0.2 2.0.3

TheSurgeon
TheSurgeon

Posted

I've tried every version from 1.0.9 to the latest 2.0.2 and the only version that will send to my discord via the webhook is 1.0.9 prior to the major version overhaul.

I also noticed that in 2.0+ that I continually get rate limited by uMod. This doesn't happen in 1.0.9 as well.

tofurahie

Posted

Are you getting any errors in the console when you should be sending a message to discord?
Previously not all plugins were checked, but now all plugins will be checked, no matter how many you have.

TheSurgeon

Posted

No errors when sending to discord. I even modified the code a bit to differentiate the errors when pulling from the different sites to check on rate limiting.

I get a rate limiting error for umod (could be good to throw in timers for the requests or something but I don’t think it’s stopping the plug-in from working) but eventually all the plugins pull through in the console and never send to discord.

im running 1.0.9 right now with no discord issues, but some links are broken and I’m assuming a lot of that is fixed in 2.0x

tofurahie

Posted

have you tried to reduce the number of plugins? let's say we check with 10 plugins on the server

tofurahie

Posted

Changed Status from Pending to No Response

Changed Fixed In to 2.0.3

TheSurgeon

Posted

I ended up discovering what I believe to be the root issue and am unsure if current updates resolved previous issues. After experimenting a bit and reading, it appears this plugin is being limited by Discords 2000 character webhook limit. This wasn't an issue in 1.0.9 because each plugin sent it's own message, whereas in newer versions it's attempting to send one message. I was able to confirm this by modifying the plugin to remove a majority of the text that goes into the discord messages.

TheSurgeon

Posted

This is also a separate issue, but also very easy to fix, but the uMod requests are consistently rate limited. You can prevent the repeated rate limits by adding approximately 1-2 seconds between the uMod requests. I only got 1 rate limit using 1 second and zero rate limits using 2 seconds.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.1k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.