Commit Graph

9 Commits

Author SHA1 Message Date
ca86ade0fa
Made sensitivity configurable and added aliases
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.
2019-02-27 19:08:09 +01:00
9e139a0f3e Add custom Matrix Python SDK. Solves #5 and #2
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.
2019-01-20 00:41:02 +01:00
eb2b887c0a Transitioned from JSON to Hjson. Closes #3
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.
2019-01-14 23:47:38 +01:00
3f007cc83f Installation of requirements.txt before loading module 2019-01-13 12:50:15 +01:00
f6fd324912 Fixed a typo (charactar --> character) 2019-01-12 22:35:16 +01:00
a6919125ae Added plugin install API
It is now specified how a plugin should be installed. Furthermore, a
"super user" is added to the install script and configuration files.
2019-01-12 18:02:34 +01:00
0d32c727fa Added installation files
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.
2019-01-12 15:13:21 +01:00
9db6136e86 Added list event function
Also refactored the code a little bit more and updated the README file
according.
2019-01-06 16:01:01 +01:00
57499db3f5 Initial commit of software
This commit includes the matrix bot API
(https://github.com/shawnanastasio/python-matrix-bot-api/) and the first
proof of concept that the plugin API works. Furthermore, it includes the
first version of a plugin that acquires event from an Admidio setup
(https://admidio.org).
2018-12-16 16:38:47 +01:00