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

Port CommandSettings (of Vhoyon/Discord-Bot) to abstract version in here #39

Open
V-ed opened this issue Oct 18, 2019 · 0 comments
Open

Comments

@V-ed
Copy link
Collaborator

V-ed commented Oct 18, 2019

As we advertise that our framework handles setting, we should also provide the ability to easily create a settings command with an abstract interface to deal with settings.

Since dealing with settings may mean more than simply setting a value, we would need to handle callbacks and deal with langs too.

This is the command currently implemented in our own bot, which we would port in here :
https://github.com/Vhoyon/Discord-Bot/blob/69256eb4df14005eb09f06fea60ac7a3e7f0bd2c/src/main/java/io/github/vhoyon/bot/commands/CommandSetting.java

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

No branches or pull requests

1 participant