[Help] Let owners set menu reaction timeout (#5205)

* initial help reaction timeout with min 15, max 300

* slight wording change

* docs!

* aaa

* Suggestions from code review, thank Jack!

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>

Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
Vexed
2021-09-01 17:35:11 +01:00
committed by GitHub
parent 6a8968e34d
commit f8664a4e8a
4 changed files with 60 additions and 1 deletions

View File

@@ -1190,6 +1190,34 @@ mean some pages will exceed this limit.
**Arguments:**
- ``<limit>`` - The max amount of characters to show per page in the help message.
.. _core-command-helpset-reacttimeout:
""""""""""""""""""""
helpset reacttimeout
""""""""""""""""""""
**Syntax**
.. code-block:: none
[p]helpset reacttimeout <seconds>
**Description**
Set the timeout for reactions, if menus are enabled.
The default is 30 seconds.
The timeout has to be between 15 and 300 seconds.
**Examples:**
- ``[p]helpset reacttimeout 30`` - The default timeout.
- ``[p]helpset reacttimeout 60`` - Timeout of 1 minute.
- ``[p]helpset reacttimeout 15`` - Minimum allowed timeout.
- ``[p]helpset reacttimeout 300`` - Max allowed timeout (5 mins).
**Arguments:**
- ``<seconds>`` - The timeout, in seconds, of the reactions.
.. _core-command-helpset-resetformatter:
""""""""""""""""""""""