Version 1.0.0.0
-
Set the below environment variable to assign the logon information.
ENV_TWITCH_USERNAME: Username used to login the Twitch BOT account.ENV_TWITCH_TOKEN: Password used to login the Twitch BOT account. (OAuth)
-
Set the below environment variable to assign the login channel.
ENV_TWITCH_CHANNELS: Channel that BOT to join.- Multiple channels add the comma to split it.
- Do not add any redundant space between two channels.
-
(Optional) Set the below environment variable to assign the customized configuration file.
ENV_CMD_CFG_FILE: Path to configuration file.- If this variable not set, it would use the default configuration file.
-
(Optional) Set the below environment variable to customize the command prefix.
ENV_CMD_PREFIX:- If this variable not set, it would use the default prefix
!.
-
Build the image via Dockerfile
docker build -t codevenience/hyper2374bot . -
Execute the container from built image
docker run -d -t -i \
-e ENV_TWITCH_USERNAME='<twitch_user_name>' \
-e ENV_TWITCH_TOKEN='oauth:<oauth_token>' \
-e ENV_TWITCH_CHANNELS='<channels_string>' \
--name <container_name> \
codevenience/hyper2374bot