zekroTJA / shinpuru

シンプル - Discord Bot with role selection, moderation, karma ranking, a starboard, code execution, raid alerting, backups, a web interface, twitch notifications and more!
https://shnp.de
MIT License
190 stars 37 forks source link

Twitch Notification #387

Open newtox opened 1 year ago

newtox commented 1 year ago

Type

Enhancement of an existing feature

Description

Add an optional option so the bot can send a custom message before the embed when sending the notification.

Attachments

No response

itsDkiller commented 1 year ago

What use is this supposed to have?

newtox commented 1 year ago

So you can mention a role for example.

itsDkiller commented 1 year ago

Then wouldn't it be better to mention that role in the given message that shinpuru sends? This could be selectable to do (or not) in the webinterface.

newtox commented 1 year ago

That'd be a good idea, though the mention wouldn't work in an embed right?

zekroTJA commented 1 year ago

That'd be a good idea, though the mention wouldn't work in an embed right?

Yeah, but the mention can be added to the actual message text "before" the embed. Generally, I think that's a good idea which should be relatively easy to implement. The option to mention roles could be added on setting up the twitch notify.

While doing so, the process of setting up twitch notification could also be re-implemented using message components and embeds for an easier and more user friendly setup.