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.

< Opinie na Discord Keyword Notification

Pytanie/komentarz

§
Napisano: 18-07-2020

Jeff54398, thanks for your input, at least I got it showed up as running script.

jcunews, please check the script again, right now it can run but generate errors said "Something went wrong while displaying the webpages" line 28 said there is error on Tampermonkey "nt" is already defined and line 34 there is warning as well

§
Napisano: 09-04-2021

Okay Line 28 happens because the function is taking in parameters (information) and it has already decided that nt is a thing. But inside the script, it decides AGAIN that nt is a thing. the computer doesn't like that.
To get rid of that error, remove the 'var'. Change 'var nt' to 'nt'

Line 34 I think is the if statement wants brackets error. Simply make everything after the if into a single line. Should get rid of that error.

Odpowiedz

Zaloguj się, by odpowiedzieć.