commands

package
v0.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

func DirectedMessageReceive(s *discordgo.Session, m *discordgo.MessageCreate)

Listens for messages specifically addressing bot

func IsNotDMCommand

func IsNotDMCommand(q string) bool

Temporary method to check if command is relevant

func NextMessageCreateC

func NextMessageCreateC(s *discordgo.Session) chan *discordgo.MessageCreate

NextMessageCreateC returns a channel for the next MessageCreate event

func NextMessageReactionAddC

func NextMessageReactionAddC(s *discordgo.Session) chan *discordgo.MessageReactionAdd

NextMessageReactionAddC returns a channel for the next MessageReactionAdd event

func NextMessageReactionRemoveC

func NextMessageReactionRemoveC(s *discordgo.Session) chan *discordgo.MessageReactionRemove

NextMessageReactionRemoveC returns a channel for the next MessageReactionRemove event

func StartChannelMessageActor

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL