-
Notifications
You must be signed in to change notification settings - Fork 9
Listeners
Max Bridgland edited this page Jan 11, 2020
·
1 revision
Listeners are a tool included with Slacky that allow for custom notifications. Currently it will only tell you in the console when a listener event is triggered but I plan to add self-DMs or Threads to output triggered events.
A listener is just a keyword that will be filtered through every message, inside every channel you in, including DMs and Group Chats. When you register a listener and that listener is triggered, an event message will be displayed in your console.
Listeners are stored in the config.json file created on your first startup. If you do not add any manually you can use the bot to manage them.
There are 3 commands for listeners:
listener add/delete/list
add
:
- This command will add a listener keyword to your config.
- Usage:
~listener add <keyword>
delete
:
- This command will delete a listener keyword from your config.
- Usage:
~listener delete <keyword>
list
:
- This command will list all keywords in your config.
- Usage:
~listener list <keyoword>