mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-03-04 23:40:40 +00:00
Added missing format for weeks (#1)
Adding core template 'duration_format_help'
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
The syntax for duration is the following:
|
||||||
|
|
||||||
|
s - seconds
|
||||||
|
m - minutes
|
||||||
|
h - hours
|
||||||
|
d - days
|
||||||
|
w - weeks
|
||||||
|
|
||||||
|
They must be positive and may not contain spaces in between. Syntaxes can be mixed as well. For example, `1h23m` is one hour and twenty three minutes.
|
||||||
@@ -1,10 +1,5 @@
|
|||||||
Applies the muted role to the user and logs the mute in the `mutes` post target.
|
Applies the muted role to the user and logs the mute in the `mutes` post target.
|
||||||
The user will be automatically un muted after the time period is over and another un mute notification will be send to the
|
The user will be automatically un-muted after the time period is over and another un-mute notification will be send to the
|
||||||
`mutes` post target.
|
`mutes` post target.
|
||||||
The syntax for duration is the following:
|
|
||||||
s - seconds
|
|
||||||
m - minutes
|
|
||||||
h - hours
|
|
||||||
d - days
|
|
||||||
|
|
||||||
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
|
<#include "duration_format_help">
|
||||||
@@ -1,8 +1,3 @@
|
|||||||
Sets the slow mode of the the current (or given channel) to the given interval.
|
Sets the slow mode of the the current (or given channel) to the given interval.
|
||||||
The syntax for interval is the following:
|
|
||||||
s - seconds
|
|
||||||
m - minutes
|
|
||||||
h - hours
|
|
||||||
d - days
|
|
||||||
|
|
||||||
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
|
<#include "duration_format_help">
|
||||||
@@ -1,9 +1,3 @@
|
|||||||
Reminds you in the given duration of the given text.
|
Reminds you in the given duration of the given text. The reminder will also include a link to the original message.
|
||||||
The reminder will also include a link to the original message.
|
|
||||||
The syntax for duration is the following:
|
|
||||||
s - seconds
|
|
||||||
m - minutes
|
|
||||||
h - hours
|
|
||||||
d - days
|
|
||||||
|
|
||||||
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
|
<#include "duration_format_help">
|
||||||
@@ -1,8 +1,3 @@
|
|||||||
Re-creates a reminder with a new duration. This is only possible for reminders which already have been executed and were started by you.
|
Re-creates a reminder with a new duration. This is only possible for reminders which already have been executed and were started by you.
|
||||||
The syntax for duration is the following:
|
|
||||||
s - seconds
|
|
||||||
m - minutes
|
|
||||||
h - hours
|
|
||||||
d - days
|
|
||||||
|
|
||||||
They must be positive and do no spaces between for example `1h23m` is one hour and twenty three minutes.
|
<#include "duration_format_help">
|
||||||
Reference in New Issue
Block a user