Eldinnie · GitHub

added 7 commits

May 22, 2018 22:28
Makes it possible to have filters work on an update instead of message, while keeping behavior for current filters
- remove allow_edited (deprecated for a while)
- set deprecated defaults to None
- Raise deprecation warning when they're used
- add sensible defaults for filters.
- rework tests
- rename update_types -> updates
- added some clarification to docstrings

@Eldinnie

Eldinnie changed the base branch from master to V12

September 21, 2018 12:47

jsmnbom

Makes it possible to have filters work on an update instead of message, while keeping behavior for current filters
- remove allow_edited (deprecated for a while)
- set deprecated defaults to None
- Raise deprecation warning when they're used
- add sensible defaults for filters.
- rework tests
- rename update_types -> updates
- added some clarification to docstrings

Closed

jsmnbom

jsmnbom

jsmnbom previously approved these changes Oct 1, 2018

@Eldinnie

Closed

Now returns a list of match objects for every regexfilter
And raise deprecationWarning on creation

@Eldinnie

jsmnbom

Closed

- use data_filter instead of regex_filter on BaseFilter
- have these filters return a dict that is then updated onto CallbackContext instead of using a list is before
- Add a .match property on CallbackContext that returns .matches[0] or None

@jsmnbom

@jsmnbom

@jsmnbom

Closed

@Eldinnie

Closed

Read the original on github.com ↗