strumbot

A Twitch Stream Notification Bot

APACHE-2.0 License

Stars
29

Bot releases are hidden (Show)

strumbot - 1.3.6 | Fix role name config settings Latest Release

Published by MinnDevelopment over 1 year ago

Small bug fix release to fix #16

Docker Images

docker-pulls

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
strumbot - 1.3.5 | Fix international names

Published by MinnDevelopment over 1 year ago

Small bug fix release to fix #14

Docker Images

docker-pulls

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
strumbot - 1.3.4 | Disable notification roles

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:

image

But still keeps @update and @live:

image

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.

image

Docker Images

docker-pulls

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
strumbot - 1.3.3 | Update JDK to 17.0.3 to fix possible security vulnerability

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

docker-pulls

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
strumbot - 1.3.2 | Improve handling of missing VODs

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

docker-pulls

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
strumbot - 1.3.1 | Fix use after close bug on token refresh

Published by MinnDevelopment over 2 years ago

This release fixes a minor bug which occurs when tokens are refreshed after expiration.

Docker Images

docker-pulls

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
strumbot - 1.3.0 | Rename command and better logger

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.

image

Docker Images

docker-pulls

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
strumbot - 1.2.1 | Bug fixes and smaller docker images

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.

strumbot - 1.2.0 | 100% Coroutines and smaller image

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.

strumbot - 1.1.2 | Update dependencies

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

strumbot - 1.1.1 | Fixed auth token refresh

Published by MinnDevelopment almost 3 years ago

Fixes the error that happens when the auth token refreshes.

strumbot - Slash Commands and Timestamps

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.

slash commands

Additionally, we switched to the new localized timestamps markdown which now shows the stream started at in the localized timezone of each client.

strumbot - Official Release

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.

strumbot - Show top clips in VOD event

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:

example of VOD event

strumbot - Multiple Streamers, New twitch authorization, Better uptime

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.

strumbot - Automated Rank Setup

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.

strumbot - Improved docker setup

Published by MinnDevelopment almost 5 years ago

The image is hosted at docker hub.

  1. Open a terminal in the directory of your choice (which includes the config.json!)
  2. Pull the image with docker pull minnced/strumbot:%VERSION% (Replace %VERSION% with the version here: latest release in this case 0.1.4)
  3. Change the configuration in config.json
  4. Create and start a container with this command:
    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 ^!

strumbot - Rank command improvements

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.

Read More

strumbot - Add Initial Setup Guide

Published by MinnDevelopment almost 5 years ago

I've done some improvements and added a setup guide

strumbot - Proof of Concept

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:

  1. Download the archive from the assets of this release
  2. Extract the archive
  3. Update the config.json with correct credentials
  4. Execute run.sh or run.bat depending on the operating system

This requires Java 8 or better