Reimnop / Discord4Fabric

A beautiful Discord bot client for Fabric
MIT License
37 stars 20 forks source link

The mod is spamming this error message #86

Closed matheeshapathirana closed 1 year ago

matheeshapathirana commented 1 year ago

The mod spamming this error message in my console,

Encountered 429 on route PATCH/channels/{channel_id} with bucket 6e836da6cef38ba2f3dfd8568a4e9631:channel_id=1121458058082660372 Retry-After: 5000 ms Scope: user

Please help me to fix this error.

Reimnop commented 1 year ago

What's your channel topic update time in your config?

matheeshapathirana commented 1 year ago

Oh, I changed it to 3 image Should I change it to default?

Reimnop commented 1 year ago

That's going to update the topic every 3 ticks, not seconds. Discord has a rate limit for topic update, which is two times per 10 minutes. Exceeding that rate causes issues. I suggest you change it to default or disable it altogether by setting it to -1.

matheeshapathirana commented 1 year ago

Ok alr, thanks.