You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new configuration options for thread creation and snoozing features, including limits, behaviors, and embed settings.
Signed-off-by: lorenzo132 <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+32-19Lines changed: 32 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,25 +11,38 @@ however, insignificant breaking changes do not guarantee a major version bump, s
11
11
### Added
12
12
13
13
**New Configuration Options:**
14
-
*`unsnooze_history_limit`: Limits the number of messages replayed when unsnoozing (genesis message and notes are always shown).
15
-
*`snooze_behavior`: Choose between `delete` (legacy) or `move` behavior for snoozing.
16
-
*`snoozed_category_id`: Target category for `move` snoozing; required when `snooze_behavior` is `move`.
17
-
*`snooze_store_attachments`: When enabled, image attachments are stored as base64 when snoozing with delete behavior, allowing them to be re-uploaded on unsnooze.
18
-
*`snooze_attachment_max_bytes`: Maximum size per attachment to store as base64 (default: 4 MiB).
19
-
*`thread_creation_menu_timeout`: Timeout duration for user interaction with the menu (default: 30 seconds).
20
-
*`thread_creation_menu_close_on_timeout`: Silently abort thread creation if user doesn't select an option.
21
-
*`thread_creation_menu_anonymous_menu`: Anonymize the initial menu prompt relayed to staff.
22
-
*`thread_creation_menu_embed_text`: Text shown in the embed above the selection dropdown.
23
-
*`thread_creation_menu_dropdown_placeholder`: Placeholder text in the dropdown before selection.
24
-
*`thread_creation_menu_selection_log`: Log the chosen menu option in the newly created thread channel.
25
-
*`thread_creation_menu_precreate_channel`: Create thread channel immediately upon first DM even if menu is enabled.
26
-
*`thread_creation_menu_embed_title`: Optional title for the thread-creation menu embed.
27
-
*`thread_creation_menu_embed_footer`: Optional footer text for the menu embed.
28
-
*`thread_creation_menu_embed_footer_icon_url`: Optional URL for the footer icon.
*`thread_creation_menu_embed_image_url`: Optional large hero image URL for the menu embed.
31
-
*`thread_creation_menu_embed_large_image`: Promote thumbnail to large hero image if no separate image URL is set.
32
-
*`thread_creation_menu_embed_color`: Color for the menu embed's side strip.
14
+
**Complete Configuration Options:**
15
+
*`thread_creation_send_dm_embed`: True # Send embed to user when creating a thread DM
16
+
*`thread_creation_menu_enabled`: True # Boolean to enable or disable the thread-creation menu
17
+
*`thread_creation_menu_close_on_timeout`: False # Silently abort thread creation if user doesn't select an option
18
+
*`thread_creation_menu_anonymous_menu`: False # Anonymize the initial menu prompt relayed to staff
19
+
*`thread_creation_menu_selection_log`: True # Log the chosen menu option in the newly created thread channel
20
+
*`thread_creation_menu_precreate_channel`: False # Create thread channel immediately upon first DM even if menu is enabled
21
+
*`thread_creation_menu_embed_large_image`: False # Promote thumbnail to large hero image if no separate image URL is set
22
+
*`thread_min_characters`: 0 # Minimum characters required to create a thread
23
+
*`thread_min_characters_title`: "Message too short" # Title displayed when message is too short
24
+
*`thread_min_characters_response`: "Your message is too short to create a thread. Please provide more details." # Response text when message is too short
*`snooze_default_duration`: 604800 # Default snooze duration in seconds (7 days)
27
+
*`snooze_title`: "Thread Snoozed" # Title for the snooze notification embed
28
+
*`snooze_text`: "This thread has been snoozed. The channel will be restored when the user replies or a moderator unsnoozes it." # Text displayed when a thread is snoozed
29
+
*`unsnooze_text`: "This thread has been unsnoozed and restored." # Text displayed when a thread is unsnoozed
30
+
*`unsnooze_notify_channel`: "thread" # Channel to notify upon unsnooze ('thread' = same thread channel or channel ID)
31
+
*`snooze_behavior`: "delete" # 'delete' to delete channel, 'move' to move channel to snoozed_category_id
32
+
*`snoozed_category_id`: None # Category ID to move snoozed channels into when snooze_behavior == 'move'
33
+
*`snooze_store_attachments`: False # When True, store image attachments as base64 in snooze_data
34
+
*`snooze_attachment_max_bytes`: 4_194_304 # Maximum size per attachment to store as base64 (4 MiB)
35
+
*`unsnooze_history_limit`: None # Limit number of messages replayed when unsnoozing (None = all messages)
36
+
*`thread_creation_menu_timeout`: 30 # Timeout duration for user interaction with the menu (seconds)
37
+
*`thread_creation_menu_embed_text`: "Please select an option." # Text shown in the embed above the selection dropdown
38
+
*`thread_creation_menu_dropdown_placeholder`: "Select an option to contact the staff team." # Placeholder text in the dropdown before selection
39
+
*`thread_creation_menu_embed_title`: None # Optional title for the thread-creation menu embed
40
+
*`thread_creation_menu_embed_footer`: None # Optional footer text for the menu embed
0 commit comments