-
Notifications
You must be signed in to change notification settings - Fork 40
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
Automatic Discord webhook screenshots #28
base: main
Are you sure you want to change the base?
Automatic Discord webhook screenshots #28
Conversation
Quick patch notes blurb: Updated Wiki snippets: Live view
Discord WebhookYou can set a Discord webhook in the settings in the Uploading tab. This will allow you to automatically upload screenshots of the meter at the end of each fight to Discord. The screenshot will be of the main damage tab with whatever settings you currently have enabled. The boss and the uploader's name will be sent in the message such that it will be searchable in Discord. When a Discord webhook is set, an extra button will appear in the live view UI to toggle this feature on and off. To get a webhook URL, go to a Discord Channel's settings, then "Integrations", then "Webhooks", then "New Webhook". Copy that webhook into the Settings. Anyone can upload to this webhook if they have the URL, so keep it private. |
…iscord-webhook-screenshots
…ex/loa-details into discord-webhook-screenshots
…iscord-webhook-screenshots
…iscord-webhook-screenshots
…iscord-webhook-screenshots
Adds feature to automatically upload screenshots of the damage meter every time there's a phase transition.
Settings for the feature are added in the Upload tab of settings. When a webhook URL is set in the settings, the tickbox is enabled to start auto uploading of screenshots. This also shows a new Discord button in the main window that is a toggle for this button allows users to toggle auto uploading of screenshots quickly.
It uses a Discord channel webhook that lets us POST a message with a screenshot attached. The function fires whenever a phase-transition message is sent to DamageMeter. I attempted to only trigger this behavior when the pause reason was Boss Dead but it appears that it is difficult to reliably figure out whether it's a wipe, phase change, or the boss died. This means that it does trigger in some odd places like on adds between G2 and G3 of Brel.
Further documentation may be useful for users in the Wiki.
Not sure if everything is exactly correct or styled right, let me know if there's some changes I should make.