pepebot/models/models.go

23 lines
288 B
Go
Raw Normal View History

2021-05-18 12:11:30 +02:00
package models
import (
"errors"
"time"
)
var ErrNoRecord = errors.New("models: no matching record found")
type Badword struct {
ID int
Word string
ServerID string
LastSaid time.Time
}
type AdminRoles struct {
ID int
RoleName string
RoleID string
GuildID string
}