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.

< Feedback on Discord Keyword Notification

Question/comment

§
Posted: 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.

Post reply

Sign in to post a reply.