Automatic Actions
Automatic actions can be performed when a message is sent that matches a regex pattern. It can scan text in messages, files, bin websites (like Pastebin), and from images.
Configuration
Auto actions have the following parameters:
channels- A list of channel ID's to scan. If not specified, all channels will be scanned. For threads and forums, it uses the parent channel's ID.media- A list of media types to scan. The following types are supported:TEXT- The content of a message.FILE- The contents of a text file. Supports mime typestext/*andapplication/*.BIN- The contents of a bin link, like Pastebin.IMAGE- The text contents of an image. This can be slow and resource intensive. Only use if required.
bots- Whether bot messages should be scanned. Defaults tofalse.actions- A list of actions. See below.
Actions have three parameters:
pattern- The regex pattern to match. The entire string won't be matched against the pattern, but it will instead check if any of the content matches.reactions- A list of reactions to react to the message with.responses- A list of messages to respond with.