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

User Preferences don't change when trying to change them #82

Closed
kevinthedang opened this issue Jul 10, 2024 · 1 comment · Fixed by #83
Closed

User Preferences don't change when trying to change them #82

kevinthedang opened this issue Jul 10, 2024 · 1 comment · Fixed by #83
Assignees
Labels
bug Something isn't working

Comments

@kevinthedang
Copy link
Owner

kevinthedang commented Jul 10, 2024

Describe the bug
When a user attempts to change a preference, it does not change.
Server preferences are working as intended.

To Reproduce
Steps to reproduce the behavior:

  1. Startup the discord bot service
  2. Type '/message-style true'
  3. Check the user preference file of discord user: data/<discordUsername>-config.json
  4. You will see that there are no changes to your file (unless your config never existed. If so, start from step 1 again)

Expected behavior
When changing a user preferences in data/<discordUsername>-config.json, it should change the preferences desired.
Example: changing "message-style": false to "message-style": true

Screenshots
image

Additional context
This bug occurred after implementing #80

@kevinthedang kevinthedang added the bug Something isn't working label Jul 10, 2024
@kevinthedang kevinthedang self-assigned this Jul 11, 2024
@kevinthedang
Copy link
Owner Author

Problem identified,

We are storing as an incorrect user. Likely an issue with running commands and declaring what username to use.

image

@JT2M0L3Y

@kevinthedang kevinthedang linked a pull request Jul 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant