Commit Graph

11 Commits

Author SHA1 Message Date
Dennis Potter 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
Dennis Potter c8b5926d78
Admidio event plugin now makes full use of Admidio Python API
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.
2019-02-03 13:35:16 +01:00
Dennis Potter c46a4f6012
Added another catcher for an KeyError in the request participants callback 2019-02-02 16:25:32 +01:00
Dennis Potter 2b488ee1f8
Most of the Admidio event plugins now makes use of the Admidio Python API
This commit also adds the function which enables users to request participants from the bot.
2019-02-02 16:16:37 +01:00
Dennis Potter 06868d67ce
Added info event feature
The bot is now able to return information about a certain event to a room.
2019-01-27 17:58:24 +01:00
Dennis Potter 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
Dennis Potter e4d325955c Event plugin was missing host entry for MySQL connection 2019-01-14 23:59:59 +01:00
Dennis Potter 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
Dennis Potter b6c9d025a8 Refactored the directory variables minimally 2019-01-13 12:51:57 +01:00
Dennis Potter 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
Dennis Potter 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