Skip to content

A simple Discord bot that notifies users whenever a streamer goes live, and allows them to subscribe to notifications for specific streamers.

Notifications You must be signed in to change notification settings

Atlas7005/discLiveNotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Live Notifier

A simple Discord bot that notifies users whenever a streamer goes live, and allows them to subscribe to notifications for specific streamers. The bot is written in Node.js using the discord.js library.

Setup

Prerequisites

Installation

  1. Clone the repository using git clone https://github.com/Atlas7005/discLiveNotify.git or download the source code as a zip file and extract it.
  2. Install the required dependencies using npm install.
  3. Create a new Discord bot application and add it to your server. You can find a guide on how to do this here.
  4. Create a new file called .env in the root directory of the project and add the following lines to it:
TOKEN=your_bot_token
CLIENT_ID=your_twitch_client_id
CLIENT_SECRET=your_twitch_client_secret

You can find your bot token on the Discord developer portal, under the "Bot" section of your application. You can find your Twitch client ID and client secret on the Twitch developer portal.

  1. Run the bot using node app.js.

Usage

Commands

  • n!ping - Check if the bot is online.
  • n!notify <streamer> - Subscribe to notifications for a streamer.
  • n!unnotify <streamer> - Unsubscribe from notifications for a streamer.
  • n!list - List all streamers you are subscribed to.
  • n!live <streamer> - Check if a streamer is live.

Notifications

The bot will send a DM to each subscribed user whenever a streamer goes live. The notification will contain the streamer's name, a link to their stream, and a preview image of their stream.

About

A simple Discord bot that notifies users whenever a streamer goes live, and allows them to subscribe to notifications for specific streamers.

Topics

Resources

Stars

Watchers

Forks