helpers

package
v0.0.0-...-d0af5f0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmbedTemplate

func EmbedTemplate() *discord.Embed

EmbedTemplate returns the basic template for an Embed

func FooterText

func FooterText() string

FooterText returns the text for the Embed Footer

func TimeIn

func TimeIn(t time.Time, name string) (time.Time, error)

TimeIn returns the time in UTC if the name is "" or "UTC". It returns the local time if the name is "Local". Otherwise, the name is taken to be a location name in the IANA Time Zone database, such as "Africa/Lagos".

Types

This section is empty.

Jump to

Keyboard shortcuts

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