Documentation ¶
Index ¶
- func RegisterPlugin()
- type Plugin
- type Reminder
- func GetChannelReminders(channel int64) (results []*Reminder, err error)
- func GetGuildUserReminder(userID, guildID int64) (results []*Reminder, err error)
- func GetUserReminders(userID int64) (results []*Reminder, err error)
- func NewReminder(userID int64, guildID int64, channelID int64, message string, when time.Time) (*Reminder, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPlugin ¶
func RegisterPlugin()
Types ¶
type Plugin ¶
type Plugin struct{}
func (*Plugin) AddCommands ¶
func (p *Plugin) AddCommands()
func (*Plugin) PluginInfo ¶
func (p *Plugin) PluginInfo() *common.PluginInfo
type Reminder ¶
type Reminder struct { gorm.Model UserID string ChannelID string GuildID int64 Message string When int64 }
func GetChannelReminders ¶
func GetGuildUserReminder ¶ added in v2.38.0
func GetUserReminders ¶
func NewReminder ¶
func (*Reminder) ChannelIDInt ¶
Click to show internal directories.
Click to hide internal directories.