Skip to content

Commit c61b82a

Browse files
authored
Update create_threads to threads. eternnoir#198
1 parent 8a4d200 commit c61b82a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ for text in splitted_text:
443443
### Controlling the amount of Threads used by TeleBot
444444
The TeleBot constructor takes the following optional arguments:
445445

446-
- create_threads: True/False (default True). A flag to indicate whether
446+
- threaded: True/False (default True). A flag to indicate whether
447447
TeleBot should execute message handlers on it's polling Thread.
448-
- num_threads: integer (default 4). Controls the amount of WorkerThreads created for the internal thread pool that TeleBot uses to execute message handlers. Is not used when create_threads is False.
448+
- num_threads: integer (default 4). Controls the amount of WorkerThreads created for the internal thread pool that TeleBot uses to execute message handlers. Is not used when threaded is False.
449449

450450
### The listener mechanism
451451
As an alternative to the message handlers, one can also register a function as a listener to TeleBot. Example:

0 commit comments

Comments
 (0)