pron1x / SubathonTimer

A subathon timer backend that gets data from StreamElements
1 stars 0 forks source link

Implement a chat bot that can connect to a configured chat #2

Closed pron1x closed 4 months ago

pron1x commented 4 months ago

Feature Description

Implement a chatbot to connect to a chatbot and receive messages. The bot needs to connect via an oauth token and optionally (if doable) automatically refresh the token if it is about to expire.

More functionality will not be implemented in this user story, commands will be added in other user stories.

Criteria Acceptance

Tests

Implementation

The bot will be implemented as a new project module (subathon-bot) and will use the Twitch4J Library to connect to the chat. Received commands will be pushed to a rabbitMQ queue, the rabbit configuration will be implemented in this step already

pron1x commented 4 months ago

Implemented in 22bb4d5f1d27c0b11a4cd6d6d8b291cb913cc742 Auto OAuth token refresh might need custom CredentialProvider, moving to issue #7 and putting in backlog.