Skip to content

LittleAndi/AndiBanterBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AndiBanterBot

AndiBanterBot is a Twitch chat bot designed to enhance your Twitch stream with interactive features and engaging chat interactions.

.NET version

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.

Config

Prompts

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": ""
  }
}

Auth

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"

Getting Started

To get started with AndiBanterBot Node version, follow these steps:

  1. Clone the repository: git clone https://github.com/LittleAndi/AndiBanterBot.git
  2. Run dotnet restore to get all dependencies
  3. 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.

Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue on the GitHub repository.

License

This project is licensed under the MIT License.

About

The code for the Twitch Chat Bot AndiBanterBot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages