Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTimestampFor ¶
NewTimestampFor t in the format understood by the debounce package
Types ¶
type Interaction ¶
type Interaction func(i *discordgo.InteractionCreate) (bool, time.Duration)
Interaction debouncer function
func InteractionTimestamp ¶
func InteractionTimestamp(getTimestamp extract.MessageString, debounce time.Duration) Interaction
InteractionTimestamp debounces on the timestamp extracted using getTimestamp
Click to show internal directories.
Click to hide internal directories.