Before this commit, the name of the bot had to be hard coded into every
plugin. Now, the name of the bot to which it should be sensitive can be
set in the global config.hjson.
Furthermore, the default sensitivity of a plugin is only recognized at
the beginning of a sentence and is case insensitive.
Finally, the possibility to add aliases for plugins is added.
Since the API is now able to refresh the data, it is possible for the plugin to use the API in the monitoring thread as well.
This commit also includes some minor make up improvements of messages.
This commit releases a custom Matrix Python SDK. This means that the
most important classes---MatrixClient, Room, and MatrixHttpApi---are
inherited by Custom classes. This enables us to change behaviour or add
new features in a well structured and predictable way.
The first issue that is solved with this new custom SDK is the problem
that was introduced in #2.
All configuration files and all messages files should now preferrable be
done in Hjson. This format supports, i.a. features, multi line strings
and commenting. This greatly improves readability.
All installation and documentation files are also updated in this
commit.
This commit adds a convenient installation script for Linux and also
adds a description on how to install the bot.
Furthermore, a very simple example plugin is added. This way, new users
can easily discover the possibilities of this plugin.
Finally, the default character "Peter"---which is used within
Alcuinus---is removed, and a more generic character is added.