-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split add and remove action to seeperate places
Update example Some refactoring in matcher.go
- Loading branch information
Steven Arnott
committed
Oct 24, 2024
1 parent
4e684ee
commit 2e944ad
Showing
7 changed files
with
92 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
name: plus-one-reaction | ||
name: question-reaction | ||
active: true | ||
reaction_match: ":+1:" | ||
reactions_added: "question" | ||
args: | ||
# actions | ||
actions: # this rule takes no actions, just collects and responds with whats laid out in the format_response section | ||
|
||
actions: # no actions | ||
# response | ||
format_output: "Oh a reaction?" # message to send to your user when they say hello | ||
format_output: ${_user.firstname} could you elaborate more on your request? | ||
|
||
start_message_thread: true # start a thread with the response | ||
direct_message_only: false # allow messaging inside channels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters