plugable-matrix-bot/plugins/hello
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
..
messages Added installation files 2019-01-12 15:13:21 +01:00
README.md Added installation files 2019-01-12 15:13:21 +01:00
hello.py Made sensitivity configurable and added aliases 2019-02-27 19:08:09 +01:00
requirements.txt Removed a requirement which I only added to test something 2019-01-13 12:52:17 +01:00

README.md

This is an example plugin with only a single callback. When a user says "Hello bot" in a room in which te bot is present, the user replies with "Hello <username>!".