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.

< 脚本Discord Keyword Notification的反馈

提问/评论

§
发表于:2020-07-18

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

§
发表于:2021-04-09

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.

发表回复

登录以发表回复。