streamdeck-discord-message icon indicating copy to clipboard operation
streamdeck-discord-message copied to clipboard

Replacing multiple buttons' webhooks at once?

Open MitchOfTwitch opened this issue 2 years ago • 4 comments

I am new to this. Is there a way to replace every button's webhook all at once? I'm looking to export a profile for others but don't want to make them input their webhook 100+ times. TYIA

MitchOfTwitch avatar Mar 16 '22 15:03 MitchOfTwitch

Thanks for filing this issue.

Actually, there's another nuance that makes this a bit more important: if you were to export your profile, with your webhook URLs on the buttons and all, you'd be opening up the possibility of somebody using their Stream Deck to make posts to your Discord channels on your behalf. Webhook URLs are not intended to be exposed to people who aren't allowed to post to them.

I'm not sure what options exist in the Stream Deck SDK for plugins to have their own configuration that applies across all buttons but I'll try to find a bit of time to look into it. For now, unfortunately there's no better option than to actually clear out all of the webhook URLs from buttons before exporting a profile.

logicallysound avatar Mar 27 '22 23:03 logicallysound

Thanks for replying! I ended up posting one without the webhook url for everyone and told them they had to copy/paste for now. I’ll be watching intently! Haha. Love your plugin. Thanks for it!

On Sun, Mar 27, 2022 at 7:36 PM LogicallySound @.***> wrote:

Thanks for filing this issue.

Actually, there's another nuance that makes this a bit more important: if you were to export your profile, with your webhook URLs on the buttons and all, you'd be opening up the possibility of somebody using their Stream Deck to make posts to your Discord channels on your behalf. Webhook URLs are not intended to be exposed to people who aren't allowed to post to them.

I'm not sure what options exist in the Stream Deck SDK for plugins to have their own configuration that applies across all buttons but I'll try to find a bit of time to look into it. For now, unfortunately there's no better option than to actually clear out all of the webhook URLs from buttons before exporting a profile.

— Reply to this email directly, view it on GitHub https://github.com/logicallysound/streamdeck-discord-message/issues/19#issuecomment-1080044848, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYO6M7J5NL2L6CMP53KJDLVCDWGXANCNFSM5Q4G2GTA . You are receiving this because you authored the thread.Message ID: @.*** com>

-- Mitchell S Belile

MitchOfTwitch avatar Mar 27 '22 23:03 MitchOfTwitch

Unfortunately I'll be a bit delayed in working on the plugin further since I recently moved house and actually cannot find my Stream Deck 😅

logicallysound avatar Mar 28 '22 00:03 logicallysound

Hahaha no worries whatsoever. I just did the same thing and it took me three months to find mine. Congrats on the move

On Sun, Mar 27, 2022 at 8:18 PM LogicallySound @.***> wrote:

Unfortunately I'll be a bit delayed in working on the plugin further since I recently moved house and actually cannot find my Stream Deck 😅

— Reply to this email directly, view it on GitHub https://github.com/logicallysound/streamdeck-discord-message/issues/19#issuecomment-1080054456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYO6M2Z254VLOLPNQKTE5TVCD3FLANCNFSM5Q4G2GTA . You are receiving this because you authored the thread.Message ID: @.*** com>

-- Mitchell S Belile

MitchOfTwitch avatar Mar 28 '22 01:03 MitchOfTwitch