Documentation
¶
Index ¶
- func AddUserAlert(guild string, user string, minutes int) error
- func GuildIsLinked(guild string) bool
- func LinkChannel(guild string, channel string) error
- func RemoveUserAlert(guild string, user string) error
- func ScheduledAlerts(minutes float64) (*sql.Rows, error)
- func Start()
- func UserAlertExist(guild string, user string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserAlert ¶
AddUserAlert add an alert for the user
func GuildIsLinked ¶
GuildIsLinked checks is a guild already has a linked channel
func LinkChannel ¶
LinkChannel links a channel for the bot alerts
func RemoveUserAlert ¶
RemoveUserAlert removes the alert for a user (by disabling it)
func ScheduledAlerts ¶
ScheduledAlerts returns a slice with all the users from a guild
func UserAlertExist ¶
UserAlertExist checks if the user alerts already exists in a guild
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.