Add bots option to exclude other bot users from autoplay logic (#301)

* Add bots option to exclude other bot users from autoplay logic
* Refactor get_user_count_in_channel to make it more readable
* Remove commandline option and rename config key for "bots"
* Remove --bots from argparse
* Correct when_nobody_in_channel_ignore config read typo
* Fix when_nobody_in_channel_ignore configuration read order
This commit is contained in:
XenonPK
2023-07-03 09:42:40 +01:00
committed by GitHub
parent 6115a0d3ee
commit bb179ebc23
3 changed files with 20 additions and 1 deletions

View File

@ -134,6 +134,10 @@ port = 64738
# - leave empty (do nothing)
#when_nobody_in_channel =
# 'when_nobody_in_channel_ignore': Specify the list of users that should be ignored, from the list of active users.
# This is typically used when other bots are present in the channel.
#when_nobody_in_channel_ignore =
# 'youtube_query_cookie': Sometimes youtube will block the request of our bot and
# request the bot to complete a captcha to verify the request is not made by a
# bot.