Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeDatabase ¶
func RegisterModels ¶
Types ¶
type Case ¶
type Case struct { gorm.Model Type string State string GuildID string ExecutorID string VictimID string Description string }
model for Cases like reports, kicks, bans and such
type Guild ¶
type Guild struct { gorm.Model GuildID string `gorm:"unique;not null"` Prefix string `gorm:"default:;;"` HandleReports string `gorm:"default:dm"` ReportChannelID string `gorm:"unique"` LogChannelID string `gorm:"unique"` StaffRoleID uint `gorm:"unique"` }
model to provide customization for your Guild, e.g. custom prefix
Click to show internal directories.
Click to hide internal directories.