Skip to content

abdullahmorrison/twitch-chatbot

Repository files navigation

Abdullah's Twitch Chatbot

GitHub issues GitHub last commit (by committer)

A chatbot that queries multiple free APIs to tell jokes, fun facts, and link fun images for Twitch chatters to enjoy! It also saves links that other chatters paste into the chat to a self-hosted MongoDB database.

Usage

You need to have a Twitch account in order to type in a Twitch chat. Some channels require that you follow the channel and/or have a verified account to type in their chat. Login to Twitch and type a command in one of the channels the bot is connected to.

Twitch Channels Connected to the Chatbot

If you type a chatbot command in these channels' chatrooms, the bot will get triggered

Chatbot Commands

Commands that are Exclusive to a Specific Twitch Channel

  • !recipe: Brittt usually cooks during her streams. This command gives her ideas on what she can cook by making a GET request to themealdb.com to get a random recipe and pasting a TikTok-search URL to that recipe in chat so she can view the instructions on how to make it on TikTok (she loves finding recipes through TikTok).
  • !whyisbritttnotlive: Tells a random excuse about why Brittt is not streaming today by querying a JSON file in the codebase that contains a list of the many excuses she uses to explain why she is not streaming today.
    • If Britt types the command herself, the bot says this:

Demo

#1 Context: I am typing bot commands into my channel.

#2 Context: Chatters are typing the !dn command which triggers my bot @AbdullahMorrisonBot to tell a "deez nuts" joke. The chatters are responding with the emote GotEEM to show that they are laughing.

#1 Example Commands #2 Used in a Live Twitch Stream
Demo.mp4
dn-demo.mp4

Architecture Diagram

image

Testimonial

About

A chatbot that queries multiple free APIs to tell jokes, fun facts, and link fun images for Twitch chatters to enjoy!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published