messages

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MARKDOWN   = "mrkdwn"
	PLAIN_TEXT = "plain_text"
)

Variables

This section is empty.

Functions

func MakeCircuit

func MakeCircuit(race *ergast.Race, circuit *f1fantasy.CircuitInfo) (*slack.MsgOption, error)

func MakeConstructorStandings added in v0.3.0

func MakeConstructorStandings(standings []ergast.ConstructorStanding, leader *f1fantasy.Player) (*slack.MsgOption, error)

func MakeDriverStandings added in v0.2.0

func MakeDriverStandings(standings []ergast.DriverStanding, leader *f1fantasy.Player) (*slack.MsgOption, error)

func MakeFlagEmoji

func MakeFlagEmoji(countryIso string) string

func MakeHelp added in v0.4.0

func MakeHelp() slack.MsgOption

func MakeLeaderboard

func MakeLeaderboard(leaderboard *f1fantasy.LeagueLeaderboard) slack.MsgOption

func NationalityToCountryIso added in v0.2.0

func NationalityToCountryIso(nationality string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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