Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnorePrivateMessages ¶ added in v1.1.10
func IgnorePrivateMessages( handler func(*discordgo.Session, *discordgo.MessageCreate), ) func(*discordgo.Session, *discordgo.MessageCreate)
func IgnoreSelfMessages ¶ added in v1.1.10
func IgnoreSelfMessages( handler func(*discordgo.Session, *discordgo.MessageCreate), ) func(*discordgo.Session, *discordgo.MessageCreate)
Types ¶
type Bot ¶
type Bot interface {
Bot() error
}
Bot what a bot does.
func NewQuartermasterBot ¶
func NewQuartermasterBot( log logger, client *http.Client, tokenSource token.Source, discord *discordgo.Session, channelID string, corporationID, allianceID int32, repository botRepository, checkInterval, notifyInterval time.Duration, ) Bot
NewQuartermasterBot returns new bot instance.
Click to show internal directories.
Click to hide internal directories.