Greasy Fork is available in English.

Discord Keyword Notification

Displays a browser notification whenever a user mentions specific textual word(s) in a channel. The script must be manually edited to configure the keywords.

< Valutazione su Discord Keyword Notification

Domanda/commento

§
Pubblicato: 15/05/2021

I added my keywords "cryptobud" and "chat" to the keywordsRegexp string:
var keywordsRegexp = /\bcryptobud\b|\bchat\b|\bmatchwordstart|trivia|matchwordend\b|^matchmessagestart|matchmessageend$/gi;
But am not getting notifications.
I am getting a warning flag in the code:
eslint: curly - Expected { after 'if' condition.
at line 35.
Using Msft Edge browser with TamperMonkey.

Pubblica risposta

Accedi per pubblicare una risposta.