AndiBanterBot is a Twitch chat bot designed to enhance your Twitch stream with interactive features and engaging chat interactions.
This is the to be version when going forward. Most development will hopefully be made during streaming at https://www.twitch.tv/littleandi77.
We now got a basic bot that responds when mentioned, but also randomly responds to messages in chat. Also, we're trying out making it aware of some of the chat history, but this seems to require some tuning.
Currently supporting a separate appsettings.prompts.json
that can be (but not need to be) used to configure the system prompts.
The Pubg AI will besides the system prompt be fed with the json payload from the /matches endpoint in the PUBG API.
{
"OpenAI": {
"GeneralSystemPrompt": "Be kind"
},
"PubgOpenAI": {
"PubgGameSystemPrompt": ""
}
}
Scopes needed (configured in appsettings):
- "bits:read",
- "channel:bot",
- "channel:manage:predictions",
- "channel:manage:redemptions",
- "channel:read:ads",
- "channel:read:redemptions",
- "channel:read:subscriptions",
- "channel:read:vips",
- "chat:edit",
- "chat:read",
- "clips:edit",
- "moderator:read:followers",
- "user:bot",
- "whispers:read"
To get started with AndiBanterBot Node version, follow these steps:
- Clone the repository:
git clone https://github.com/LittleAndi/AndiBanterBot.git
- Run
dotnet restore
to get all dependencies - Start with
dotnet run --project .\src\Host\
After starting the app, navigate to the start page, i.e. http://localhost:5000/, and click the Login link. This will start the OAuth flow and take you to https://id.twitch.tv/oauth2/authorize. After completing the login, the app will get a access token back. This access token will then be used when using the Twitch APIs later.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the GitHub repository.
This project is licensed under the MIT License.