ppfeufer / aa-fleetpings

App for Alliance Auth that can format your fleet pings and also ping for you to Discord.
https://pypi.org/project/aa-fleetpings/
GNU General Public License v3.0
2 stars 6 forks source link

[Feature Request] Multiple Webhooks #210

Open crazydisi opened 3 months ago

crazydisi commented 3 months ago

Context

We would like to use this tool to ping through multiple webhooks at the same time.

Describe the feature you have in mind

Would be awsome if we could get a feature where you can add more then one webhook to the config and make sure that everyone of those hooks would get the data

Additional context

This is very usefull if you have a coallition or Alliance with multiple discord server and do not want to change the hooks for every ping

ElCommi commented 3 months ago

This would be super useful!

ppfeufer commented 3 months ago

And potentially flag your server as the source of spam when posting the same message in multiple channels, maybe even across multiple Discord servers, at the same time. Discord has a very harsh rate limit and is quick to ban IPs.

crazydisi commented 3 months ago

Valid point, without a question but 2 things here regarding this (personal opinion):

X-RateLimit-Limit: 5 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 1470173023 X-RateLimit-Reset-After: 1 X-RateLimit-Bucket: abcd1234

/edit

furthermore those are the current limits under which discord acts:

IP addresses that make too many invalid HTTP requests are automatically and temporarily restricted from accessing the Discord API. Currently, this limit is 10,000 per 10 minutes. An invalid request is one that results in 401, 403, or 429 statuses.