Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Feature Request: Functionality to manipulate the typingDelay time globally #1386

Closed
schmitzl opened this issue Jun 14, 2018 · 0 comments
Closed
Assignees

Comments

@schmitzl
Copy link

I want to manipulate the time for the typingDelay for my SocketBot. However, I would have to set the typingDelay for every message individually. This is far too much work for something, that could as well be solved with a configuration variable. I do not want to change the original formula to calculate the typingDelay as it works nicely and takes the message length into account. What I want instead is an additional factor in that calculation, that I can set for bot. This typingDelayFactor should be 1 by default and with this use the original calculation for the typingDelay. However, as a user, I can also increase the typing speed of the bot by setting it to something lower than 1 or I can turn my bot into a really slow typer by setting it to e.g. 5. This gives a lot of flexibility while still taking the message length into account.
I will implement the changes for a typingDelayFactor and create a pull request.

schmitzl pushed a commit to zauberware/botkit that referenced this issue Jun 14, 2018
benbrown pushed a commit that referenced this issue Jul 9, 2018
#1386: Additional global parameter that can be set to change the typi…
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants