Prompt-Timeout

The Prompt-Timeout option allows you to specify the duration, in seconds, until CommandPrompter cancels a prompt.

Usage

You can configure the Prompt-Timeout by editing the "config.yml" file as follows:

# After how many seconds until
# CommandPrompter cancels a
# prompt
Prompt-Timeout: 300

In this example, the timeout is set to 300 seconds.

Explanation

The Prompt-Timeout determines the period of inactivity after which CommandPrompter cancels a prompt. Adjust this value to control how long a user has to input a command before the prompt is canceled automatically.

Example

To set the Prompt-Timeout to 120 seconds, use the following configuration:

Prompt-Timeout: 120

This will set the timeout to 120 seconds, allowing users two minutes to respond to a prompt.

Last updated