Skip to content

OnThePixel-net/twitch-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Twitch Bot

This is a Twitch bot built using tmi.js that interacts with viewers through chat commands and responds to events like follows and subscriptions.

Features

  • Responds to chat commands:
    • !discord or !dc: Provides a link to the Discord server.
    • !website or !web: Provides a link to the website.
    • !socials: Provides links to social media accounts.
    • !help or !commands: Lists available commands.
  • Sends a periodic message to join the Discord server.
  • Responds to follow and subscription events with a thank you message.

Getting Started

Prerequisites

  • Node.js (version 10 or higher)
  • pnpm

Installation

  1. Clone the repository:

     git clone https://github.com/OnThePixel-net/twitch-bot.git
     cd twitch-bot
    
  2. Install dependencies:

     pnpm install
    
  3. Create a .env file in the root directory and add your Twitch credentials:

     USERNAME=your_twitch_username
     OAUTH_TOKEN=your_oauth_token
    

    Get the OAuth Token here: https://twitchapps.com

Running the Bot

Start the bot with the following command:

pnpm start

About

OnThePixel Twitch Bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published