Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keywords don't appear to be saved with settings.json #3

Open
XDelta opened this issue Apr 4, 2024 · 2 comments
Open

Keywords don't appear to be saved with settings.json #3

XDelta opened this issue Apr 4, 2024 · 2 comments

Comments

@XDelta
Copy link

XDelta commented Apr 4, 2024

I looked in my settings.json and didn't see any of the keywords being saved there but it does appear to be the correct settings as changing ignoreBots does update that section

"KeywordNotify": {
    "enabled": true,
    "ignoreBots": true
},

It looks like (at a brief glance) it is supposed to save them as part of the settings.json https://github.com/camila314/vencord-KeywordNotify/blob/main/index.tsx#L247-L251

@x3rt
Copy link
Contributor

x3rt commented May 5, 2024

They get saved in the Datastore because it's a custom component.
await Vencord.Api.DataStore.get("KeywordNotify_keywordEntries");

There is a bug where changing ids doesn't update the datastore unless you delete/add another keyword entry. Which will be fixed with #4

@x3rt
Copy link
Contributor

x3rt commented May 23, 2024

What I mentioned above is fixed.

Your keywords still won't appear in settings.json though as they are saved in the DataStore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants