A Twitch Stream Notification Bot
APACHE-2.0 License
Bot releases are visible (Hide)
Published by MinnDevelopment over 1 year ago
Small bug fix release to fix #16
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.6 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.6-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment over 1 year ago
Small bug fix release to fix #14
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.5 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.5-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment over 2 years ago
You can now disable the @live
(and other) notification roles individually by setting the role_name
value to ""
. For instance, turning off @vod
but keeping @update
and @live
, would look like this:
{
"role_name": {
"live": "live",
"update": "update",
"vod": ""
}
}
This removes the @vod
from the notifcations:
But still keeps @update
and @live
:
Disabling the role will also remove it from the /notify
command. If none of the roles are enabled, the command is not enabled at all.
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.4 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.4-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment over 2 years ago
The JDK version used by the docker image has been updated to 17.0.3. This is done to address the recent security vulnerability discovered for the JDK in the context of ECDSA verification (CVE-2022-21449). Note that it is unlikely, the bot was affected by this in the first place.
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.3 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.3-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment over 2 years ago
Due to the recent issues that twitch had with missing VODs for some streamers, this release aims to improve the embeds for those streams by stripping invalid video URLs.
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.2 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.2-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment over 2 years ago
This release fixes a minor bug which occurs when tokens are refreshed after expiration.
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.1 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.1-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment over 2 years ago
Breaking: This release renames the /rank role: ...
command to /notify role: ...
.
I updated the logger setup for the discord webhook log appender. You can now configure the logger pattern and log level using the new config section logger
. The logger now uses the new ansi
highlighting feature which has been added to the discord desktop and web client. On mobile this may not look very nice, if desired you can disable the color converters using the logger.pattern
config option.
Docker Images
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.3.0 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.3.0-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
Published by MinnDevelopment almost 3 years ago
This release fixes a bug which caused top clips to not always show the expected number of clips.
The docker images have been significantly reduced in size. Additionally, there now are 2 different variants of images you can pick from:
Image | Size | Meaning | Dockerfile |
---|---|---|---|
1.2.1 | 80 MB | Includes all debug headers and full JRE | container/normal |
1.2.1-min | 35 MB | Includes minimal JRE without any debug information | container/minimal |
For comparison, 1.2.0 has an image size of 220 MB. Both images are now using alpine base, which is a significantly smaller linux distribution which depends on musl. I might consider adding another image for people who can't use alpine due to missing musl compatibility, if the demand is there.
Published by MinnDevelopment almost 3 years ago
The entire project has been reworked to remove usage of reactor and rely solely on coroutines. This reduces the complexity and image size drastically.
Published by MinnDevelopment almost 3 years ago
This release addresses a potential security vulnerability, which doesn't seem to affect this project, but should be updated nonetheless.
Reference: https://jira.qos.ch/browse/LOGBACK-1591
Published by MinnDevelopment almost 3 years ago
Fixes the error that happens when the auth token refreshes.
Published by MinnDevelopment over 3 years ago
In this release we switched to the new Slash Commands. This requires the bot to now be invited with the applications.commands
scope in addition to bot
. So your invite URL should contain this scope=bot+applications.commands
, when you invite the discord bot to your server.
Additionally, we switched to the new localized timestamps markdown which now shows the stream started at in the localized timezone of each client.
Published by MinnDevelopment over 4 years ago
You can now add localizations for individual languages per streamer. The localization is chosen through the twitch API which provides a language tag for each stream.
Published by MinnDevelopment over 4 years ago
I've added an option to show the most viewed clips after the stream has ended. You can show between 1 and 5 clips.
Example:
Published by MinnDevelopment over 4 years ago
In this release I've implemented the OAuth flow for the twitch API. This is required as of 30th of April.
You can now setup a list of streamers in the user_login
configuration to listen to multiple streamers at once. The Streaming ...
status in discord will simply rotate between all currently active streamers. The events will behave just like if you would be running the bot multiple times.
You can use docker-compose to create an easy to use version of this bot:
version: "2.2"
services:
strumbot:
image: minnced/strumbot:0.1.7
restart: always
build: .
volumes:
- ./config.json:/etc/strumbot/config.json
container_name: strumbot
mem_limit: 512M
You can also now configure a server_id
in the discord configuration to allow the bot to operate on a specific server.
Published by MinnDevelopment almost 5 years ago
The role creation for the live
/update
/vod
roles is now automated. When you add the bot to the server it will attempt to create the necessary roles if they are not already present.
Published by MinnDevelopment almost 5 years ago
The image is hosted at docker hub.
config.json
!)docker pull minnced/strumbot:%VERSION%
(Replace %VERSION%
with the version here: latest release in this case 0.1.4
)config.json
docker run -d \
-v $(pwd)/config.json:/etc/strumbot/config.json \
--name strumbot \
--restart unless-stopped \
minnced/strumbot:%VERSION%
For windows users: Replace
$(pwd)
with%cd%
and\
with^
!
Published by MinnDevelopment almost 5 years ago
The rank command will now resolve type
-> role
. This means you can use ?rank live
with a custom role name.
Published by MinnDevelopment almost 5 years ago
I've done some improvements and added a setup guide
Published by MinnDevelopment almost 5 years ago
This implements the base functionality for strumbot, see the readme for instructions on how to configure it.
Setup:
config.json
with correct credentialsrun.sh
or run.bat
depending on the operating systemThis requires Java 8 or better