Skip to content

obviyus/HamVerBot

Repository files navigation

Version GitHub CI Status

Commit Activity

🏎️ HamVerBot

#f1's favorite bot running on Libera.Chat built using the Bun + Typescript.

✨ Features

Commands

  • !next [timezone] - Time until the next event (supports timezone like utc+1, gmt-5:30)
  • !when [event] [timezone] - Time until a specific event (fp1, fp2, fp3, qualifying, sprint, race)
  • !prev - Get results from the last completed event
  • !drivers - Current WDC (World Drivers' Championship) standings
  • !constructors - Current WCC (World Constructors' Championship) standings
  • !help - List all available commands

Automated Updates 🤖

  • 🏁 Automatic event alerts 5 minutes before start
  • 📊 Real-time race results posted to configured channels
  • 🔄 Hourly updates of WDC and WCC standings
  • 📅 Daily calendar refresh

🚀 Getting Started

To begin, clone the repository and create a .env file based on .env.example:

NODE_ENV=development

# IRC Bot Configuration
IRC_NICKNAME=HamVerBot-Dev
IRC_NICK_PASSWORD=password
IRC_PASSWORD=password
IRC_REALNAME="Steward of #f1"
IRC_USER_INFO="IRC bot for #f1"
IRC_SOURCE="https://github.com/obviyus/hamverbot"

# IRC Server Configuration
IRC_SERVER=irc.libera.chat
IRC_PORT=6697
IRC_USE_TLS=true

# IRC Channel Configuration
IRC_CHANNELS=#f1

# Bot Options
IRC_COMMAND_PREFIX=!

# Admin Settings
IRC_OWNERS=obviyus

# Database Configuration, see: https://turso.tech/
TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=

To run the bot:

bun run start

🤝 Contributing

This repository uses the automated semantic-release suite of tools to generate version numbers. All commit messages must conform to the Angular Commit Message conventions.

Thanks for the logo ordos! 🎨

About

#f1's favourite F1 bot

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 5