Comments (4)
Not sure if this is a problem on my end, but I've had a few instances where the notif sound is very delayed and plays long after a keyword is sent-- or sometimes the notif sound will just play for no reason at all.
Also, a visual notification would be cool too, like there's actually a @mention in the channel where the keyword was sent!
from keywordtracker.
Not sure if this is a problem on my end, but I've had a few instances where the notif sound is very delayed and plays long after a keyword is sent-- or sometimes the notif sound will just play for no reason at all.
Also, a visual notification would be cool too, like there's actually a @mention in the channel where the keyword was sent!
I'm not sure if this is an issue on my end either? The code that all notifications use is right here:
this.sendMatchNotification(
`https://cdn.discordapp.com/avatars/${message.author.id}/${message.author.avatar}.webp?size=256`,
`User match in ${guild}!`,
`${message.author.username} typed in #${channel.name}.`,
`/channels/${message.guild_id}/${channel.id}/${message.id}`
);
if (this.settings.notifications) {
Modules.SoundModule.playSound("message1", 0.4);
}
Nothing here would imply that there's any reason for there to be a delay between notification and sound, and so I'd bet it's a fault of the library I use to play the sound in the first place: https://github.com/rauenzi/BDPluginLibrary
from keywordtracker.
Hey so I'm dumb and I realized what caused the seemingly random/delayed pings
It's just because the keyword I added happens to be a component in some other separate words. So, like... "ring" inside of "spring" or something along those lines-- if "ring" was a keyword and "spring" was said, it'd trigger the ping. I hadn't considered that beforehand. My bad!
from keywordtracker.
@Potatocrip Haha, it happens. You can use regex to get around that, i.e. if you want to match only the word "ring" as an individual word, you can do /\bring\b/i
which will match two word boundaries (\b
) around the word ring.
from keywordtracker.
Related Issues (20)
- Opening the "notification" panel crash discord with new update HOT 2
- Bot? HOT 1
- Trigger conflicts for single discoord server? HOT 1
- Improvment: Add limit to how many keywords get triggered a day HOT 1
- Notification Sound not working. HOT 5
- Enhancement Request: Option to keep jump'ed messages in notification menu HOT 1
- Enhancement Request: Include server name and channel in notification HOT 1
- keyword tracker crash loop HOT 1
- How do I get this to work with DMs too? HOT 1
- Could not open settings for keywordtracker HOT 4
- No history anymore HOT 1
- KeywordTracker plugin freezing BD HOT 1
- removed
- Multiple channel IDs or server IDs (and even user IDs) in a line
- Regex doesn't save after restart
- Discord Threads HOT 1
- [Suggestion] Better organisation for Channel selection
- Keyword Matches are Doubling HOT 1
- Keyword Matches not working anymore HOT 5
- Enhancement Request: Implementing Auto-Enable Feature for New Channels in Plugin Configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keywordtracker.