All Projects → anthonywritescode → twitch-chat-bot

anthonywritescode / twitch-chat-bot

Licence: MIT license
No description or website provided.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to twitch-chat-bot

mIRC-Twitch-Scripts
Various scripts and games to use with a mIRC bot designed for Twitch.tv
Stars: ✭ 30 (-52.38%)
Mutual labels:  twitch, irc
Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+6966.67%)
Mutual labels:  twitch, irc
recent-messages2
Service to provide historical messages to Twitch chat clients
Stars: ✭ 21 (-66.67%)
Mutual labels:  twitch, irc
twitchchat
interface to the irc portion of Twitch's chat
Stars: ✭ 80 (+26.98%)
Mutual labels:  twitch, irc
Go Twitch Irc
go irc client for twitch.tv
Stars: ✭ 155 (+146.03%)
Mutual labels:  twitch, irc
twitch-chatlog
Fetch the chatlog to a twitch VOD from your command line.
Stars: ✭ 78 (+23.81%)
Mutual labels:  twitch, irc
Multistreamer
[discontinued] A webapp for publishing video to multiple streaming services at once.
Stars: ✭ 281 (+346.03%)
Mutual labels:  twitch, irc
bot
A Go package for building Twitch.tv IRC chat bots. Previously "twitchbot".
Stars: ✭ 17 (-73.02%)
Mutual labels:  twitch, irc
Twitch Bot
🤖 Easily create chat bots for Twitch.tv
Stars: ✭ 111 (+76.19%)
Mutual labels:  twitch, irc
Twitchirc Unity
lightweight IRC client component for use with the Unity Engine.
Stars: ✭ 81 (+28.57%)
Mutual labels:  twitch, irc
twitch-bot-tutorial
Official repo of the "Building a Python Twitch bot (2020)" series.
Stars: ✭ 21 (-66.67%)
Mutual labels:  twitch, irc
Twitch4j
Modular Async/Sync/Reactive Twitch API Client / IRC Client
Stars: ✭ 209 (+231.75%)
Mutual labels:  twitch, irc
twitch-irc-rs
Twitch IRC library for the Rust programming language
Stars: ✭ 58 (-7.94%)
Mutual labels:  twitch, irc
godot-twicil
Godot TwiCIL – Godot Twitch Chat Interaction Layer
Stars: ✭ 57 (-9.52%)
Mutual labels:  twitch, irc
TwitchPy
This is a package you can use to connect with the Twitch API, manage a channel, create bots, etc
Stars: ✭ 22 (-65.08%)
Mutual labels:  twitch, irc
Java Twirk
Small, basic library for communication via the Twitch chat. Java 8 compatible
Stars: ✭ 36 (-42.86%)
Mutual labels:  twitch, irc
Tc
A desktop chat client for Twitch
Stars: ✭ 182 (+188.89%)
Mutual labels:  twitch, irc
jChat
jChat is an overlay that allows you to show your Twitch chat on screen with OBS, XSplit, and any other streaming software that supports browser sources.
Stars: ✭ 106 (+68.25%)
Mutual labels:  twitch, irc
chrome-extension-aspectratio219
🖥️ Fit the screen properly in fullscreen mode on monitor ultrawide with 21:9 aspect ratio (Netflix, Youtube, PrimeVideo, Crunchyroll)
Stars: ✭ 28 (-55.56%)
Mutual labels:  twitch
streamlabs-chat
Free customizable theme, template, custom coded CSS for Twitch, Streamlabs, Streamelemens chat box widget & overlay.
Stars: ✭ 59 (-6.35%)
Mutual labels:  twitch

pre-commit.ci status

twitch-chat-bot

A hackety chat bot I wrote for my twitch stream. I wanted to learn asyncio and this felt like a decent project to dive in on.

setup

  1. Set up a configuration file

    {
      "username": "...",
      "channel": "...",
      "oauth_token": "...",
      "client_id": "...",
      "youtube_api_key": "...",
      "youtube_playlists": {
        "explains": {
          "playlist_id": "PLWBKAf81pmOaP9naRiNAqug6EBnkPakvY",
          "github": "https://github.com/anthonywritescode/explains"
        },
        "faq": {
          "playlist_id": "PLWBKAf81pmOZEPeIV2_pIESK5hRMAo1hR"
        }
      },
      "airnow_api_key": "..."
    }
    • username: the username of the bot account
    • channel: the irc channel to connect to, for twitch this is the same as the streamer's channel name
    • oauth_token: follow the directions here to get a token
    • client_id: set up an application for your chat bot here
    • youtube_api_key: set up an API key for a YouTube account to fetch playlist videos here
    • youtube_playlists: a dictionary of YouTube playlists that can be searched via commands
    • airnow_api_key: api key for https://airnowapi.org
  2. Use python3.8 or newer and install the dependencies in requirements.txt

    virtualenv venv -ppython3.8
    venv/bin/pip install -r requirements.txt
  3. Run! venv/bin/python -m bot

implemented commands

!help

List all the currently supported commands

anthonywritescode: !help
anthonywritescodebot: possible commands: !help, !ohai, !uptime

!ohai

Greet yo self

anthonywritescode: !ohai
anthonywritescodebot: ohai, anthonywritescode!

!uptime

Show how long the stream has been running for

anthonywritescode: !uptime
anthonywritescodebot: streaming for: 3 hours, 57 minutes, 17 seconds

PING ...

Replies PONG to whatever you say

anthonywritescode: PING
anthonywritescodebot: PONG
anthonywritescode: PING hello
anthonywritescodebot: PONG hello

!discord

Show the discord url

anthonywritescode: !discord
anthonywritescodebot: We do have Discord, you are welcome to join: https://discord.gg/xDKGPaW

!followage [username]

Show how long you or a user you specified have been following the channel

not_cool_user: !followage
anthonywritescodebot: not_cool_user is not a follower!

cool_user: !followage
anthonywritescodebot: cool_user has been following for 3 hours!

some_user: !followage another_user
anthonywritescodebot: another_user has been following for 5 years!

!joke

Get a joke

anthonywritescode: !joke
anthonywritescodebot: The best thing about a Boolean is even if you are wrong, you are only off by a bit.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].