Documentation ¶
Index ¶
- func DirectMessageCreate(s *discordgo.Session, m *discordgo.MessageCreate)
- func DirectedMessageReceive(s *discordgo.Session, m *discordgo.MessageCreate)
- func IsNotDMCommand(q string) bool
- func NextMessageCreateC(s *discordgo.Session) chan *discordgo.MessageCreate
- func NextMessageReactionAddC(s *discordgo.Session) chan *discordgo.MessageReactionAdd
- func NextMessageReactionRemoveC(s *discordgo.Session) chan *discordgo.MessageReactionRemove
- func StartChannelMessageActor(ctx context.Context, s *discordgo.Session, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirectMessageCreate ¶
func DirectMessageCreate(s *discordgo.Session, m *discordgo.MessageCreate)
Listens for target command in channels Responds in DM to user
func DirectedMessageReceive ¶ added in v0.3.6
func DirectedMessageReceive(s *discordgo.Session, m *discordgo.MessageCreate)
Listens for messages specifically addressing bot
func IsNotDMCommand ¶
Temporary method to check if command is relevant
func NextMessageCreateC ¶ added in v0.3.11
func NextMessageCreateC(s *discordgo.Session) chan *discordgo.MessageCreate
NextMessageCreateC returns a channel for the next MessageCreate event
func NextMessageReactionAddC ¶ added in v0.3.11
func NextMessageReactionAddC(s *discordgo.Session) chan *discordgo.MessageReactionAdd
NextMessageReactionAddC returns a channel for the next MessageReactionAdd event
func NextMessageReactionRemoveC ¶ added in v0.3.11
func NextMessageReactionRemoveC(s *discordgo.Session) chan *discordgo.MessageReactionRemove
NextMessageReactionRemoveC returns a channel for the next MessageReactionRemove event
func StartChannelMessageActor ¶ added in v0.4.0
func StartChannelMessageActor(ctx context.Context, s *discordgo.Session, msCh *chan *models.DiscordMessageSendRequest) error
NextMessageReactionRemoveC returns a channel for the next MessageReactionRemove event
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.