You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2021. It is now read-only.
* Fixes an issue introduced in 1.2.6 where the message content collection would be affected
7
-
in the processing of the message, causing it to lack special characters
4
+
## Version 1.2.7
8
5
6
+
* Fixes an issue introduced in 1.2.6 where the message content collection would be affected in the processing of the message, causing it to lack special characters
9
7
* Fixes a documentation error where the wrong type hinting was used in the Message object
8
+
* Fixes a bad design choice where the module would call sys.exit() unless requirements were met for CommandProcessor upon import
10
9
11
10
12
-
#### Version 1.2.6
13
-
14
-
11
+
## Version 1.2.6
15
12
16
13
This patch contains news and improvements.
17
14
18
15
**Important**: Features without `Callback` as the object in `callbacks `for `CommandParser` objects will not work, and need to be upgraded to `Callback`.
19
-
20
-
21
16
**New**
22
-
23
-
*`Callback`
24
-
The `Callback` object has replaced the old structure with dictionaries when creating a callback binding with words to a method in Features. See `demo_feature` in `examples.py` for a demo of how to get started and upgrading your features.
17
+
* Callback
18
+
The `Callback` object has replaced the old structure with dictionaries when creating a callback binding with words to a method in Features. See `demo_feature` in `examples.py` for a demo of how to get started and upgrading your features.
25
19
* Compliance in *FeatureBase*, *CommandParserBase* and *CommandProcessor for use with `Callback`
26
20
* The **interactive_methods** tuple property for CommandParser objects is deprecated, and replacedb by the **interactive** flag for the **Callback** object.
27
21
28
22
**Improvements**
29
-
30
23
* Fixes an issue where no warning was delivered upon trying to use **int** as key in callbacks. This is still not supported but is now explained through an error.
31
24
* Fixes an issue with Features receiving the lowered version of the command only. Features still match case insensitive but now receive the original message.
32
25
33
-
34
-
35
-
36
-
37
-
#### Version 1.2.5
26
+
## Version 1.2.5
38
27
39
28
**New**
40
29
41
-
*`CommandParser ` Class, ready-to-use. See **example.py** in **/examples**
42
-
43
-
If you only need a default CommandParser without any overloaded methods, this class is for you!
30
+
* CommandParser class, ready-to-use. See **example.py** in **/examples**
44
31
32
+
If you only need a default CommandParser without any overloaded methods, this class is for you.
45
33
You no longer need to inherit the FeatureCommandParserBase in order to create a command parser
46
34
47
35
for your Feature, just use the `CommandParser` object.
@@ -57,31 +45,19 @@ This patch contains news and improvements.
57
45
58
46
*`import CommandIntegrator` is now the only needed import to access everything within the package. By the use of the `__init__.py` file. `import CommandIntegrator as ci` will give you access to all classes and functions in the package from the `ci.` syntax
59
47
60
-
61
48
62
49
* Language data is migrated to a new file called `language.json` which allows developers to easily increase the support for other languages
63
-
64
50
* Code refactoring including module details, module name scheme according to PEP8
65
-
66
51
* Pronoun strings removed from `PronounLookupTable` object and moved to `language.json`
0 commit comments