reminder

package
v0.0.0-...-3723a19 Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ac *appcontext.Context)

New is a appcontext initialization function

Types

type Reminder

type Reminder struct{}

Reminder is a function-handling struct for Reminder

func (*Reminder) AlarmsList

func (r *Reminder) AlarmsList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

AlarmsList lists all alarms for user with buttons to enable/disable each of available alarms

func (*Reminder) CreateAlarmSetting

func (r *Reminder) CreateAlarmSetting(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

CreateAlarmSetting creates alarm setting for user

func (*Reminder) DestroyAlarmSetting

func (r *Reminder) DestroyAlarmSetting(update *tgbotapi.Update, playerRaw *dbmapping.Player) string

DestroyAlarmSetting creates alarm setting for user

func (*Reminder) Init

func (r *Reminder) Init()

Init is an initialization function for reminder

func (*Reminder) SendReminders

func (r *Reminder) SendReminders()

SendReminders sends reminders for users about coming league tournament

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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