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.

< Rückmeldungen auf Discord Keyword Notification

Frage/Kommentar

§
Veröffentlicht: 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.

Antwort schreiben

Anmelden um eine Antwort zu senden.