bd-reminder-bot

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: MIT Imports: 19 Imported by: 0

README

bd-reminder-bot Go Report Card Build Status

Slack bot to remind your team and team manager about the upcoming birthdays.

Requires Go 1.8+ (1.10+ for Go modules support).

Inspired by mybot from RapidLoop at https://github.com/rapidloop/mybot

Install

  • with module-aware go get:
go get github.com/nezorflame/bd-reminder-bot
  • without:
go get -u github.com/nezorflame/bd-reminder-bot
cd $GOPATH/src/github.com/nezorflame/bd-reminder-bot
go install

Usage

Flags
Flag Type Description Default
config string Config file name (without extension) config
db string BoltDB file location ./bolt.db
debug bool Debug level for logs false
Config

Example configuration can be found in config.example.toml

Available commands
Command Description
hi Prints the greeting message
birthday Prints the amount of days left to the next user's birthday
turnoff Prints the farewell message and exits (manager only)

Before using any command, mention the bot username before the command name, like this:

@bdreminder hi

Limitations

Currently users have to fill their birthday into the Skype field (because there is no Birthday field available) so that bot could parse it.

This behaviour will change in the future versions.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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