FEATURE: Add 'Create topic' automation script (#26552)

This commit adds a new automation script for creating topics. It's very similar to the existing 'create a post' automation, except that it posts new topics in a specific category and with optional tags.

Internal topic: t/125829.
This commit is contained in:
Osama Sayegh
2024-04-09 04:21:31 +03:00
committed by GitHub
parent 0085365459
commit 84b4e4bddf
7 changed files with 266 additions and 1 deletions

View File

@ -59,6 +59,7 @@ after_initialize do
lib/discourse_automation/scripts/group_category_notification_default
lib/discourse_automation/scripts/pin_topic
lib/discourse_automation/scripts/post
lib/discourse_automation/scripts/topic
lib/discourse_automation/scripts/send_pms
lib/discourse_automation/scripts/suspend_user_by_email
lib/discourse_automation/scripts/topic_required_words