Archived
1

Reminders for league. Now just reminders, without attack button

This commit is contained in:
2017-12-23 01:40:36 +04:00
parent a2e70332de
commit 706dc3e944
19 changed files with 381 additions and 117 deletions

16
lib/dbmapping/alarms.go Normal file
View File

@@ -0,0 +1,16 @@
// i2_bot Instinct PokememBro Bot
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
package dbmapping
import (
"time"
)
// Alarm is a struct, which represents `alarms` table item in databse.
type Alarm struct {
ID int `db:"id"`
PlayerID int `db:"player_id"`
TurnirNumber int `db:"turnir_number"` // From 1 to 12
CreatedAt time.Time `db:"created_at"`
}