newyearsbot

command module
v0.0.0-...-58f2574 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 10 Imported by: 0

README

NewYearsBot

Preparing for 2025, updates landing in December as usual

I'm doing it again for the greater good

New Year's Eve IRC party bot

Posts New Years for each timezone when they happen

screenshot

Bot's commands

  • !next upcoming new year
  • !previous previous new year
  • !remaining number of remaining timezones
  • !hny <location> get new year status for location
  • !time <location> get the current time in a location
  • !time UTC
  • !help show help

The command prefix ! can be changed using the -prefix flag

Pro-tip

  • make sure your system's time is synchronized with NTP

Installation

2024 versions

Arch linux PKGBUILD in archlinux folder

Prebuilt Linux binaries are available on the releases page

Using make

You need to have make, go, go-tools

Build with make

Install with make install

Uninstall with make uninstall

Clean up with make clean

Specifying channel key

-channels "#channelname:channelkey, #channelname2:channelkey2"

Yaml config file

See example config: settings.yaml

Useful if you wanna run multiple bot instances across different IRC hosts

Documentation

Overview

New Year's Eve IRC party bot

Directories

Path Synopsis
MIT+NoAI License
MIT+NoAI License
utils
sorter
Util for sorting the TZ json To make it neat and nice after manual edits
Util for sorting the TZ json To make it neat and nice after manual edits
splitter
This utility tests TZ string splitting
This utility tests TZ string splitting
tzlength
This utility prints lengths of zones string representation.
This utility prints lengths of zones string representation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL