Fix: Remove embed_title as required attribute

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-12-06 13:35:52 +01:00
parent e376c9205c
commit 3f2c4703ef
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -38,7 +38,6 @@ func (m *modReactionRole) Initialize(id string, crontab *cron.Cron, discord *dis
if err := attrs.Expect( if err := attrs.Expect(
"discord_channel_id", "discord_channel_id",
"embed_title",
"reaction_roles", "reaction_roles",
); err != nil { ); err != nil {
return errors.Wrap(err, "validating attributes") return errors.Wrap(err, "validating attributes")