util

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 13 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 BuildImageFromContext added in v1.4.0

func BuildImageFromContext(c *cli.Context) (*api.Image, error)

func IsStdin added in v1.1.0

func IsStdin() bool

func ReadStdin added in v1.1.0

func ReadStdin() []string

func StringifyObject added in v1.3.0

func StringifyObject(obj interface{}, format bool) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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