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
Bot needs to be able to connect to a twitch chat and receive messages send in the chat
Bot needs to refresh the oauth token if it expired
Tests
[x] Bot connects to the twitch chat
[x] Bot can read messages from the chat
[ ] Bot refreshes the OAuth token
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
Implemented in 22bb4d5f1d27c0b11a4cd6d6d8b291cb913cc742
Auto OAuth token refresh might need custom CredentialProvider, moving to issue #7 and putting in backlog.
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