Skip to content

Erdem-Bey/Chat-Bot-For-DunkOrSlam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DunkOrSlum Twitch Assistant Bot

A personal Node.js Twitch chat assistant designed for the DunkOrSlum stream.

This bot listens to chat messages and reacts automatically to specific events such as:

  • new subscriptions and re-subscriptions
  • gifted subscriptions
  • shop openings
  • streamer commands
  • certain bot or user messages

It is intentionally non-generic and tailored to the behavior, culture, and flow of a specific Twitch channel.

Features

  • Automatically reacts to WizeBot subscription messages by sending "dnkM" (with variants to avoid duplicate-message restrictions).
  • Automatically buys items when the in-stream shop opens ("!open").
  • Handles gifted subs, new subs, and re-subs differently for logging.
  • Ignores or humorously responds to fake subscription messages.
  • Automatically votes on bets.
  • Automatic "reopen" messages after a bet closes.
  • Fully automatic OAuth token refresh (no manual re-login once set up).
  • Timestamped console logging for long-running sessions.

Requirements

Node.js (LTS version) Download from: https://nodejs.org

A Twitch account that will act as the bot (your own account).

Installation

  1. Clone the repository

git clone cd

  1. Install dependencies

npm install

This command automatically creates the "node_modules" directory. Do not create "node_modules" manually.

Environment Configuration

Read "Setup.txt".

Customization

Most behavior is controlled via constants near the top of index.js, including:

  • which shop item to buy
  • whether to vote in bets
  • reopen request behavior
  • reply cooldowns
  • message variants

This project is intentionally code-configured, not UI-configured.

Notes

This bot is designed for personal use, not mass distribution. It assumes familiarity with the channel’s culture and commands. Use at your own risk.

About

A simple chat bot for being active in DunkOrSlum's Twitch channel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors