-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
GH-107 Add configurable notifications #130
base: master
Are you sure you want to change the base?
Conversation
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.
I like shortcut from .sendMessage
to just .send
for the announcer
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.
How will the config behave when someone updates eternalcombat to a previously existing config?
It will restore the default value from the configuration. |
It would be useful to standardize the format of notifications, as here -> https://docs.eternalcode.pl/eternalcore/notifications First I will refactor dependencies to make it easier to add anything. |
The configuration file looks now:
Tested on localhost.
Additionally, I suggest to remove the SUB_TITLE notification type. And replace it with a standard TITLE notification, which will have the title and subtitle string arguments - if someone wants only the subtitle, they will leave the title message empty and the same with the title. Give your opinion.