mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:41:17 +08:00
FEATURE: Merge discourse-automation (#26432)
Automation (previously known as discourse-automation) is now a core plugin.
This commit is contained in:
22
plugins/automation/lib/discourse_automation/triggers.rb
Normal file
22
plugins/automation/lib/discourse_automation/triggers.rb
Normal file
@ -0,0 +1,22 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module DiscourseAutomation
|
||||
module Triggers
|
||||
AFTER_POST_COOK = "after_post_cook"
|
||||
API_CALL = "api_call"
|
||||
CATEGORY_CREATED_EDITED = "category_created_edited"
|
||||
PM_CREATED = "pm_created"
|
||||
POINT_IN_TIME = "point_in_time"
|
||||
POST_CREATED_EDITED = "post_created_edited"
|
||||
RECURRING = "recurring"
|
||||
STALLED_TOPIC = "stalled_topic"
|
||||
STALLED_WIKI = "stalled_wiki"
|
||||
TOPIC = "topic"
|
||||
USER_ADDED_TO_GROUP = "user_added_to_group"
|
||||
USER_BADGE_GRANTED = "user_badge_granted"
|
||||
USER_FIRST_LOGGED_IN = "user_first_logged_in"
|
||||
USER_PROMOTED = "user_promoted"
|
||||
USER_REMOVED_FROM_GROUP = "user_removed_from_group"
|
||||
USER_UPDATED = "user_updated"
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user