Skip to content

letsi/bday-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geburtstags Bot

A bot that gets the birthday dates from users in a google calendar.

Prerequisites

  • Node.js version 16.0.0 or higher is required. This bot was tested against Node.js version 16.14.0

Setup

Install dependencies:

npm i

Environment Config

Copy the .env.sample file into a file named .env and update the variables accordingly.

cp .env.sample .env
Variable Description
GOOGLE_CALENDAR_ID Google calendar ID. It will look like this: [email protected]
BOT_USERNAME The twitch username of the bot that will be used to send the messages.
TWITCH_OAUTH_TOKEN Twitch OAuth token for the given BOT_USERNAME - can be obtained here: https://twitchapps.com/tmi/
TWITCH_CLIENT_ID Twitch Client ID can be generated here: https://dev.twitch.tv/console/apps

Config

The src/config.js file contains the language string, the command prefix used inside the twitch chat and a list of channels the bot will join.

Running

After installing dependencies, creating the .env file and updating the src/config.js file, run the bot:

npm start

Development

npm run dev

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published