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

allow events containing * or :: #2964

Merged
merged 1 commit into from
Oct 30, 2024
Merged

allow events containing * or :: #2964

merged 1 commit into from
Oct 30, 2024

Conversation

Salvialf
Copy link
Contributor

Support custom listeners

Description

Actually listeners events are only related to commands (all (#*#) or by id (#cmdId#)). Custom events that don't fit this pattern are automatically removed by listener::clean() function.

It would be interesting if plugins could manage their own events such as #pluginClass::*# or #pluginClass::customId#.

Suggested changelog entry

  • Listeners : Prise en charge des évènements personnalisés de type #pluginClass::*# ou #pluginClass::customId#

Related issues/external references

Fix #2963

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

@Salvialf Salvialf linked an issue Oct 29, 2024 that may be closed by this pull request
@zoic21 zoic21 merged commit e0ea8d7 into alpha Oct 30, 2024
4 checks passed
@Salvialf Salvialf deleted the custom-listeners branch October 30, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support custom listeners other than commands
3 participants