output

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(card *data.CommandCard) discordgo.MessageEmbed

Command handles the !command command

func Error

func Error(title, description string) discordgo.MessageEmbed

Error returns an Embedder with a level of Success

func Field

func Field(name, value string) discordgo.MessageEmbedField

Field creates an embedded field

func Help

func Help() discordgo.MessageEmbed

Help handles the !help command

func Info

func Info(title, description string) discordgo.MessageEmbed

Info returns an Embedder with a level of Success

func Keyword

func Keyword(keyword *data.Keyword) discordgo.MessageEmbed

func Unit

func Unit(unit *data.Unit) discordgo.MessageEmbed

Unit handles the !unit command

func Upgrade

func Upgrade(upgrade *data.Upgrade) discordgo.MessageEmbed

Upgrade handles the !upgrade command

Types

This section is empty.

Jump to

Keyboard shortcuts

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