Skip to content

About

Automated NHL game bot posting real-time updates, scores, and highlights to Twitter, Bluesky, and Discord

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

NHL GameBot

An automated bot for posting NHL game updates to social media platforms.

See the bot in action on https://bsky.app/profile/canucksgamebot.bsky.social

Features

  • 🐦 Twitter Integration: Post game updates, scores, and media to Twitter
  • 🦋 Bluesky Integration: Cross-post to Bluesky with proper hashtag handling
  • 🧵 Threads Integration: Post game updates and reply with highlights to Threads
  • ✈️ Telegram Integration: Send game updates and media to Telegram channels
  • 💬 Discord Integration: Send game updates and graphics to Discord channels
  • 🏒 Game Tracking: Automatic game detection and updates
  • 🖼️ Media Support: Automatic graphic generation and posting
  • 🎥 Automatic Video Posting: Detect and post highlight videos automatically
  • ⚡ Real-time Updates: Live game monitoring and posting

Social Media Platforms

Twitter

Traditional Twitter API integration with media upload support. Limited Posting due to 17 post per 24 hours limit

Bluesky

Bluesky integration with:

  • Proper hashtag detection using AT Protocol facets
  • Rich text support
  • Media upload capabilities
  • Replying to posts with highlights

Threads

Threads integration with:

  • Media upload capabilities
  • Replying to posts with highlights

Telegram

Telegram integration with:

  • Channel posting capabilities
  • Media upload capabilities

Discord

Discord integration with:

  • Channel posting capabilities
  • Rich text support using Markdown
  • Ability to send messages to specific channels using the channelId configuration option

Quick Start

  1. Clone the repository
  2. Install dependencies: npm install
  3. Configure your social media credentials in config.json
  4. Start the bot: npm start

Configuration

See the following documentation for detailed setup:

Development

  • npm start - Run the bot
  • npm test - Run tests
  • npm run replay YYYY-MM-DD - Run the bot in replay mode for a specific date

Replay Mode

The bot supports running in "replay mode" to replay games from specific dates. This is useful for testing and debugging.

# Run the bot as if it were March 15, 2024
npm run replay 2024-03-15

License

See LICENSE.md for details.

About

Automated NHL game bot posting real-time updates, scores, and highlights to Twitter, Bluesky, and Discord

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages