Do not create a mention embed if the message contains a certain keyword#215
Do not create a mention embed if the message contains a certain keyword#215dericksonmark wants to merge 3 commits intomasterfrom
Conversation
|
To provide a bit of context, I've created this issue because the way in which MojiraBot creates ticket embeds is somewhat obtrusive (only mentioning a ticket suffices to trigger the bot). Thus I explored some solutions to this problem, one of which was to have some keyword that disables mentions. However, I think by now (1.5 years later) I think the better option is just to only trigger the bot if the ticket ID is prefixed with In this case, this feature would just not be needed at all anymroe (which would be good because I don't really like MojiraBot becoming more and more complex) Wanted to bring this up in Discord already, but haven't come around to it. |
|
Perhaps in general, in the beginning of the project I used the issues here as an idea dump and not as "something that we need". I should go through all of that and sort out what is actionable and what isn't. |
Purpose
Adds #14.
Approach
If
forbiddenTicketText(default is!nm[no mention]) is set indefault.yml, MojiraBot won't create a ticket embed if the message contains the forbidden text.