2023-08-14 02:21:27 +00:00
|
|
|
// Public Keywords:
|
|
|
|
//
|
|
|
|
// The topic in this file will be run on ALL public channel messages, to
|
|
|
|
// recognize keywords (sparsely!) and do things in reaction to them.
|
|
|
|
// The catch-all * triggers says <noreply> so we don't spam.
|
|
|
|
|
|
|
|
! version = 2.0
|
|
|
|
|
|
|
|
> topic PublicChannel
|
|
|
|
|
|
|
|
// Users saying hello = react with a wave emoji.
|
2023-08-14 03:45:53 +00:00
|
|
|
+ [*] (hello|hi|hey|howdy|hola|hai|yo|greetings) [*]
|
2023-08-14 02:21:27 +00:00
|
|
|
- <call>react <get messageID> 👋</call>
|
|
|
|
^ <noreply>
|
|
|
|
|
|
|
|
// Test for automoderator.
|
|
|
|
+ kick me from the room now
|
|
|
|
- /kick <id>
|
|
|
|
|
|
|
|
// Images shared on chat.
|
|
|
|
+ [*] inline embedded image [*]
|
|
|
|
- <call>react <get messageID> 👀</call>{weight=1}
|
|
|
|
- <noreply>{weight=3}
|
|
|
|
|
|
|
|
// Catch-all: do not reply.
|
|
|
|
+ *
|
|
|
|
- <noreply>
|
|
|
|
|
|
|
|
< topic
|