Property MaximumRestRequestsPerSecond
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
MaximumRestRequestsPerSecond
Specifies the maximum rest requests to attempt per second. Defaults to 15.
public int MaximumRestRequestsPerSecond { set; }
Property Value
Remarks
This is a band-aid for large bots and will be removed in a future version. Do not set this value above 50 unless Discord has approved you for an increase, and only increase it if your bot is flooding many different endpoints on different guilds and channels. If your bot is heavily flooding very few endpoints, you may even reduce this limit.