extract

package
v0.0.0-...-5c9ae66 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrIndexNotFound

func NewErrIndexNotFound(field string, index int) error

NewErrIndexNotFound builds an ErrIndexNotFound from a field name and index

Types

type ErrIndexNotFound

type ErrIndexNotFound error

ErrIndexNotFound indicates the requested index does not exist

type MessageString

type MessageString func(m *discordgo.Message) (string, error)

MessageString extracts strings from messages

func EmbedFieldValue

func EmbedFieldValue(embedIndex int, fieldIndex int) MessageString

EmbedFieldValue returns a MessageString extracting the value found in the embed field at the respective indices

Jump to

Keyboard shortcuts

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