~nova/fletcher

Hotwords is the generic mechanism for customizing Fletcher behavior on a server. This will allow a server admin to do various creature features, but for now it enables responding to a hotword regex with a reaction.

Table of Contents

  1. Hotwords

#Hotwords

#Permissions

This feature requires the Read Messages and Add Reactions permissions.

#Configuration

Configuration is a JSON blog under the key hotwords

{
    "target_emoji": "newspaper2",
    "regex": "^.*newspaper *please.*$",
    "insensitive": "true" # Omit if case sensitive
}

About this wiki

commit 867cef0c6c60a1c31fd5e5cfbc3cc1375b8b7a8d
Author: Novalinium <nova@noblejury.com>
Date:   2020-11-20T00:22:26-05:00

Docs
Clone this wiki
https://git.sr.ht/~nova/fletcher (read-only)
git@git.sr.ht:~nova/fletcher (read/write)