Be informed of forum threads that might be interesting
In order to
Increase engagement with threads posted by members of the community
Acceptance Criteria
[x] The admins must be able to configure the forums from which the bot will pull threads from
[x] Admin command should be /forum-showcase with options of add, list, delete, config, and toggle
[x] When the /forum-showcase add is executed, the admin must be prompted to select any number of available forums that have not been selected before
[x] When the /forum-showcase list is executed, the bot must reply with a list of all forums added in the forum-showcase feature each with an ID
[x] When the /forum-showcase delete is executed, it must have an additional parameter id that must be filled with the ID of the forum entry to be removed from the showcase
[x] When the /forum-showcase config is executed, the admin must be prompted with an input for the schedule of the execution of the showcase, and the target channel to post on (see notes)
[x] When the /forum-showcase toggle is executed, the feature must be enabled/disabled
[x] Whenever the current DateTime matches the provided schedule, the bot must post in the target forum a list of threads (one for each selected forum) to showcase in a post (see notes)
Notes
Scheduling
Either a pre-defined list of schedules or input as a CRON schedule
Posting
Must follow this format (tentative)
PPH Bot:
Hey, everyone! You might wanna check out these posts from our forums
### <forum-name-1>
<thread url 1>
### <forum-name-2>
<thread url-2>
...
Example:
Hey, everyone! You might wanna check out these posts from our forums
showcase-and-promotions
🗨️some random thread
dev-help
🗨️some random thread
Only 1 thread per forum must be selected
Threads must be selected at random and must be posted on the same month as the execution of the showcase
If there are no threads posted in the selected forum for the current month, it must not be displayed in the post
If there are no threads on any forum selected for the current month, the bot will not post anything
As a
User
I want to
Be informed of forum threads that might be interesting
In order to
Increase engagement with threads posted by members of the community
Acceptance Criteria
/forum-showcase
with options ofadd
,list
,delete
,config
, andtoggle
/forum-showcase add
is executed, the admin must be prompted to select any number of available forums that have not been selected before/forum-showcase list
is executed, the bot must reply with a list of all forums added in the forum-showcase feature each with an ID/forum-showcase delete
is executed, it must have an additional parameterid
that must be filled with the ID of the forum entry to be removed from the showcase/forum-showcase config
is executed, the admin must be prompted with an input for the schedule of the execution of the showcase, and the target channel to post on (see notes)/forum-showcase toggle
is executed, the feature must be enabled/disabledNotes
Scheduling
Either a pre-defined list of schedules or input as a CRON schedule
Posting
Must follow this format (tentative)
Example: Hey, everyone! You might wanna check out these posts from our forums
showcase-and-promotions
🗨️some random thread
dev-help
🗨️some random thread
Only 1 thread per forum must be selected
Threads must be selected at random and must be posted on the same month as the execution of the showcase
If there are no threads posted in the selected forum for the current month, it must not be displayed in the post
If there are no threads on any forum selected for the current month, the bot will not post anything
Points
10