util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildEmbedsFromContext

func BuildEmbedsFromContext(c *cli.Context) ([]discord.Embed, error)

func BuildFilesFromContext

func BuildFilesFromContext(c *cli.Context) ([]sendpart.File, error)

func FormatEmbedError added in v1.2.0

func FormatEmbedError(err error) string

func FormatError added in v1.2.0

func FormatError(err error) string

func FormatFileError added in v1.2.0

func FormatFileError(err error) string

func IsStdin added in v1.1.0

func IsStdin() bool

func ReadStdin added in v1.1.0

func ReadStdin() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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