messages

package
v0.0.0-...-694d7ce Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(Channel *discordgo.Channel, Title string, ErrorMessage string, Session *discordgo.Session)

Error is used to send a error message.

func GenericText

func GenericText(Channel *discordgo.Channel, Title string, Description string, Fields []*discordgo.MessageEmbedField, Session *discordgo.Session)

GenericText is used to send a generic message with text in.

func NotAPositiveInteger

func NotAPositiveInteger(Channel *discordgo.Channel, Session *discordgo.Session, Arg string)

NotAPositiveInteger is the "Not a positive integer" message which the bot sends.

func NotAnInteger

func NotAnInteger(Channel *discordgo.Channel, Session *discordgo.Session, Arg string)

NotAnInteger is the "Not an integer" message which the bot sends.

func NotEnoughArgs

func NotEnoughArgs(Channel *discordgo.Channel, Session *discordgo.Session)

NotEnoughArgs is the "Not enough arguments" message which the bot sends.

func OutOfFunds

func OutOfFunds(Channel *discordgo.Channel, Session *discordgo.Session, Emoji string, Amount int)

OutOfFunds is the "Out of funds" message which the bot sends.

Types

This section is empty.

Jump to

Keyboard shortcuts

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