sarahkittyy / keywordtracker Goto Github PK
View Code? Open in Web Editor NEWBe notified when a message matches a keyword :)
Be notified when a message matches a keyword :)
Just updated with the recent patch, 1.2.5, notice I am now not getting any notifications for any of my setup keywords/phrases.
Refreshed, and restarted, still nothing.
idek how that'd work, but if you can figure it out, that'd be actually insane
Has anyone experience this? where when I click the notifications, it opens discord ( when I'm tabbed out ) but doesn't direct me to the actual message, instead it just stays on the previous channel that I left it in.
I've tried everything at this point. Reset settings, uninstall BD and discord, cleared plugins and configs, but nothing works, i've been looking at my windows settings but I don't believe it's that since normal ( All messages, mentions, etc. )notifications from discord works just fine.
edit: interestingly, the new keyword matches tab next to the pin button actually works... (if that changes anything?)
This might be a just me issue but if anyone experienced it before, lmk pls.
Thank you.
I want to be notified when specific links are posted (etc https://i.imgur.com), but the plugin doesn't look in the links/embed names.
don't want it
New words I add to the logger go ignored when typed in the server. Old words still set it off but any new ones I add are invisible to the plugin. Even thought Im typing in the terms properly with regex syntax. Although old words work fine for me, a friend of mine who just installed it cant do anything with it (Even when I had them type in the terms exactly as I have. Same words, same syntax, same settings, no results). So new users potentially just have a plugin that doesnt work and have no idea why.
I've tried restarting Discord, reinstalling the plugin, restarting my PC, no changes. Same goes for my friend. At a guess, something changed recently with how the plugin processes newly added terms or something. When and how, I cant say for sure.
I cant tell if it was caused by a recent update to Discord, the library, or the plugin itself. I wish I could narrow it down more. All I know it the rest of the plugin seems to work fine (Based on how it works with the terms I had defined before the update), the issue is just affecting terms added after whatever update broke that process.
Right now I'm having to change message1
to message2
on every update. Could you add a setting for this? :)
Add a visual notification from where you got pinged, because i always have to search in every single server when a keyword is matched, overall nice plugin
When a keyword match is marked as read, it is totally gone from the system. If we could have an archive system where you can see read keyword matches that would be great.
Notifications don't have any visuals attached to them making it very hard to find where the notification is from.
I'm a bit confused here because there was already an issue made on this: #6. And it was said to be added/fixed. I made sure I am on the latest version and I can't find any settings that would change this.
I'm sorry if this is just me not knowing what to do but if that is the case it would be nice to have some some documentation on the feature.
I don't know what you mean by we can use regex syntax for the keywords and I don't know how to use it. Can you provide some documentation on that please? Thanks!
Within the pastweek ive noticed its not being triggered for even basic words like "the" or a persons name. I also am using a user id as i had previously when it worked and that also no longer works. I've deleted the plugin config and retried but it just does not work
(i made sure the server was enabled as well)
v 1.3.6
Hello, since this seems to be replacement for old WordNotifications plugin, it seems to be lacking way to ignore certain users. (Old plugin also accepted channel ids, but there is a separate option for that here)
No clue if that's on your to-do list yet, but it would be nice to ignore some bots from highlighting me in some tags :)
Also, sorry for pushing that into that issue, but now that i look at it, the notification sound is forced. Might be an edge case, but IMO a switch wouldn't hurt anyone
Would be great to be able to add keywords by channel or by server π
Sarah: lovely plugin, very useful. If we could have a whitelist option (to not notify when a message contains something even if it matches a word notif) that would be great. That or support regex lookahead/lookbehind. At the moment that doesn't work.
As of now the plugin only works with text channels, would it be possible to make it work with announcement channels too?
pinned messages button's aria-label
is different in every language.
In English is Pinned Messages
, in Chinese is ε·²ιιΈηθ¨ζ―
.
buildInboxPanel() {
let pinned = ['Pinned Messages', 'ε·²ιιΈηθ¨ζ―']
.map((ariaLabelText) => document.querySelector(`div[aria-label*="${ariaLabelText}" i]`))
.find((pinned) => pinned);
if (!pinned) {
return;
}
This works for me, but need more text to complete fix it for every language user.
I didn't know there's an unread inbox until I discovered my config file is grown to 28MB, so many unread messages, lol
Tried re-installing both BetterDiscord & Keyword Tracker, but notifications just don't work for some reason.
I'm trying to change the duration that notifications are being displayed on desktop. The setting for Windows notifications applies to other apps and normal Discord notifications as expected but it doesn't to the ones generated by KeywordTracker.
I'm wondering whether this is due to some limitation or something that could be improved on.
Hi!
It would be much appreciated if you could add some sort of log or history with an overview of past matches. I get random pings but sometimes I don't get a desktop notification (if you disable desktop notifications you get nothing but the ping sound), and I have no idea which keyword or server triggered it. Searching and checking every one would be pain, so a simple log with timestamps would make it a lot easier.
Cheers, love the work you've done!
I think a recent ZLib update might have broken smth.
This does not seem to be the same issue as #30 since I am not getting any of those errors but notifications just refuse to work.
After reverting to v1.2.4 everything seems to work as intended so it appears to be something caused by v1.2.5.
I'm trying to use the plugin with BDCompat on Powercord, but it ends up crashing the client. The specific error I'm getting is:
TypeError: Cannot read property 'toolbar' of undefined
and I think the problem is somewhere over here:
BdApi.Patcher.before(this.getName(), TitleBar, "default", (_, [props], ret) => {
if (props.toolbar.type === 'function') return;
props.toolbar.props.children[0].splice(Math.max(3, props.toolbar.props.children[0].length - 1), 0, this.buildInboxPanel());
});
Is there a way to also make it compatible with Powercord (via BDCompat)? I have the necessary dependencies installed (XenoLib etc.) and I already have some BetterDiscord plugins functioning properly with BDCompat.
The button doesn't exist anymore and it's enabled
In Discord under App Settings>Notifications there is an option which disables or enables desktop pop-up notifications for notifications. KeywordTracker plugin doesn't respect that setting in Discord nor does the plugin have an off-switch for desktop notifications in plugin's own settings.
I'd wish for the plugin to follow the Discord's main setting but if reading its state is impossible a seperate off-switch would be completely acceptable too.
This is a very annoying issue for me as any desktop notifications cause issues for my Linux's window manager and any desktop pop-up notifications cause fullscreen SDL applications such as games to suffer from very severe stuttering and a big drop in FPS for the duration of the notification's display time.
Where and how would I move the timestamp to AFTER the username & profile picture?
A little inbox button would be really nice, which would list all keyword matches.
The latest version of ZeresPluginLibrary removed a bunch of stuff and this plugin will always download the latest version, so it no longer works. A workaround is downgrading to 1.2.33, but BetterDiscord will keep asking for update.
A feature that I think would be helpful is a toggle switch that enables/disables all guilds or channels from being tracked. I'm currently in 122 servers and going through them all to disable the ones I don't want to be tracked is a little tedious so having a toggle to disable them all and go through the ones I want would be awesome :)
The keyword matches icon/button that opens the inbox is sometimes red (shown) when there are no items in the inbox, and sometimes it is not shown when there are unread items in the inbox.
Hi. in the app settings you write "One regex per line" and I'm guessing you mean "one word/sentence per line", but I'm really not quite sure. So would be nice if you could edit the in-app settings text to be more understandable, and clarify what you mean
Would be great if we can define different sound for different word tracked
I have been trying to make sure the plugin works properly and when I do self-testing it will not trigger. I am convinced that the plugin does not work at all. I am using the latest update with the toggle enabled for self-testing.
I would like a feature where if someone is in a voice chat with you it will give a notification if they messaged in a non blacklisted channel. If that could be added as a toggle that would be amazing.
I have been trying to get this to work but it has not no matter the things that I do. I have it set up as follows. I have downloaded the latest version, done Ctrl+R, tried fixing it myself, and have reinstalled it again and have gotten nothing. I don't know if it is a user error or the plugins, but every time I say my keywords on my ault to test it, I get no notification or message in the inbox. My ault is running on a fresh install of Discord without BD installed.
I'd noticed that sometimes KeywordTracker doesn't pick up on keywords. I think I've narrowed it down now.
Upon launch of discord if KeywordTracker was already enabled it will load in properly and keywords will work properly and send notifications properly. After launch if KeywordTracker is disabled and enabled it will still send notifications until you tab out of discord, flip through settings pages a few times, flip through a few servers, a few channels, etc. (Triggering it is a but unreliable and it won't happen doing one of those things once always but just screwing around with it a bit doing those things I got the bug every time one way or another.) Then the notifications break entirely and don't come back until the plugin is disabled and enabled again at which point the issue repeats itself.
This also leads to the plugin breaking every time it is updated in the discord instance that it was updated in if the user had KeywordTracker enabled on startup. (This is what caused me to think v1.2.5 notifications were entirely broken in #32 but later it mysteriously fixed itself.)
Having KeywordTracker disabled and only enabling KeywordTracker after startup doesn't seem to have this issue from my testing.
Hopefully this is enough info to replicate the issue on your end.
Obvious workaround for anyone who gets this bug and sees this issue is to just leave KeywordTracker enabled on startup and if you mess with it or update it restart discord.
Installed version 1.2.6 and I would like to enable notifications for ALL messages from a specific user.
and then select my server but i don't know what position is ON and what OFF as its weirdly annotated in the message above
and put my id in whitelist to get notifications
sadly I don't get any inbox icon (where should I even look at it?), nor i get notifications or even error.
Can I kindly ask for help here?
I've downgraded to 1.2.1 and still couldn't see inbox.
Later on I've upgraded to 1.2.6 but still without any success.
Few questions:
I'd really love to get this working and I'll be happy to buy you a few cups of coffee for devs if you will be able to solve it :)
It seems that channel names are written with white on white background on the Light discord theme.
AleΕ‘
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.