-
Notifications
You must be signed in to change notification settings - Fork 322
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
Add reset command #69
base: master
Are you sure you want to change the base?
Conversation
src/main/java/com/jagrosh/vortex/commands/settings/ResetCmd.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a boiler plate the way it is written.
You probably can do better.
src/main/java/com/jagrosh/vortex/commands/settings/ResetCmd.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jagrosh/vortex/commands/settings/ResetCmd.java
Outdated
Show resolved
Hide resolved
src/main/java/com/jagrosh/vortex/commands/settings/ResetCmd.java
Outdated
Show resolved
Hide resolved
LGTM i think |
src/main/java/com/jagrosh/vortex/database/managers/GuildSettingsDataManager.java
Show resolved
Hide resolved
You could change this method to public if you want. Might want to wait for a reply of @jagrosh whether caches should be kept. Vortex/src/main/java/com/jagrosh/vortex/database/managers/GuildSettingsDataManager.java Line 347 in 28213bf
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In terms of functionality this seems fine except for the two changes I suggested. That being said, I'm not sure I'm ready to actually add this to the bot yet. I am going to keep this PR on-hold until I've put more thought into the potential effects of this being available.
src/main/java/com/jagrosh/vortex/commands/settings/ResetCmd.java
Outdated
Show resolved
Hide resolved
Co-authored-by: John Grosh <[email protected]>
Co-authored-by: John Grosh <[email protected]>
This pull requests adds a new "reset" command, which allows users to reset Vortex's settings, such as Automod & strikes.
The reset command could be used by all the users that have been asking how to reset Vortex's settings in the support channel.