Documentation
¶
Index ¶
- Constants
- Variables
- func Escape(s string) string
- func FormatCommandHelp(cmd commands.Desc) string
- func FormatCommandShortHelp(cmd commands.Desc) string
- func FormatHelp(text string, cmds []commands.Desc) string
- func FormatMessages(header string, msgs []*standup.Message) string
- func ParseTime(s string, now time.Time) (time.Time, error)
Constants ¶
View Source
const ParseMode = tgbotapi.ModeMarkdownV2
Variables ¶
View Source
var ErrInvalidTimeFormat = errors.New("invalid time format")
Functions ¶
func FormatCommandHelp ¶ added in v0.0.2
func FormatCommandShortHelp ¶ added in v0.0.2
func FormatHelp ¶ added in v0.0.2
FormatHelp formats full help message (with optional text block before commands). If present, text must be valid when parsed with ParseMode (see Escape).
func FormatMessages ¶
FormatMessages formats a list of messages for the report. If present, header must be valid when parsed with ParseMode (see Escape).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.