Skip to content

Commit 18947c8

Browse files
committed
reflect config help snooze_default_duration for userfriendly time
1 parent eaf7cfd commit 18947c8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

core/config_help.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,13 +1268,14 @@
12681268
},
12691269
"snooze_default_duration": {
12701270
"default": "604800 (7 days in seconds)",
1271-
"description": "The default duration in seconds that a thread will be snoozed when no duration is specified. When a thread is snoozed, it is temporarily hidden until the user replies or a moderator unsnoozes it.",
1271+
"description": "The default duration that a thread will be snoozed when no duration is specified. When a thread is snoozed, it is temporarily hidden until the user replies or a moderator unsnoozes it.",
12721272
"examples": [
1273-
"`{prefix}config set snooze_default_duration 86400` (1 day)",
1274-
"`{prefix}config set snooze_default_duration 1209600` (14 days)"
1273+
"`{prefix}config set snooze_default_duration 7 days`",
1274+
"`{prefix}config set snooze_default_duration 2 hours`",
1275+
"`{prefix}config set snooze_default_duration 86400` (raw seconds also accepted)"
12751276
],
12761277
"notes": [
1277-
"The value must be specified in seconds.",
1278+
"Accepts user-friendly time like '5 days', '2 hours', or raw seconds.",
12781279
"See also: `snooze_title`, `snooze_text`, `unsnooze_text`, `unsnooze_notify_channel`."
12791280
]
12801281
},

0 commit comments

Comments
 (0)