-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiserver: discord webhook #2663
base: main
Are you sure you want to change the base?
Conversation
Just to leave the comment, we probably just have it disabled from custom server with some sort of admin command that you can use for the big async? i know people would love to have that, though the channel it'll log to will probably end up mostly unusable, it'll at least be searchable. i wouldn't be surprised if that alone greatly exceeded the rate limiting though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't fully review the code but did use the webhook in a private discord and it worked as expected
What is this fixing or adding?
Adds support for Discord WebHook into MultiServer
I tried the Async version, but it seems to block the asyncio loop it's attached to while waiting on a response, so instead of bothering with a threaded asyncio loop I just wrote an explicit thread, I prefer it that way.
How was this tested?
On a private discord.
Since rate limiting is per-IP, this will probably be unusable on archipelago.gg if it's popular, which is fine, maybe it's worthwhile to look into a way to disable this command via webhost config.
If this makes graphical changes, please attach screenshots.