moan0s / matrix-registration-bot

A bot that is used to create and manage registration tokens for a matrix server
GNU Affero General Public License v3.0
64 stars 10 forks source link

Make bot prefix configurable #14

Closed moan0s closed 2 years ago

moan0s commented 2 years ago

Some users want the bot to use a prefix which can help in a room with multiple bots. This should be configurable by the administrator of the server (via the config file).

Internally the bot prefix can be set when creating match.

match = botlib.MessageMatch(room, message, bot, PREFIX)
moan0s commented 2 years ago

Thanks a lot for the PR!