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.

發表回覆

登入以回復