Reminders for league. Now just reminders, without attack button
This commit is contained in:
21
lib/reminder/reminderinterface/reminderinterface.go
Normal file
21
lib/reminder/reminderinterface/reminderinterface.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// i2_bot – Instinct PokememBro Bot
|
||||
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
|
||||
|
||||
package reminderinterface
|
||||
|
||||
import (
|
||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
||||
)
|
||||
|
||||
// ReminderInterface implements Reminder for importing via appcontext
|
||||
type ReminderInterface interface {
|
||||
Init()
|
||||
|
||||
AlarmsList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
|
||||
|
||||
CreateAlarmSetting(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
|
||||
DestroyAlarmSetting(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
|
||||
|
||||
SendReminders()
|
||||
}
|
Reference in New Issue
Block a user