package bot

import (
	"strings"
)

func markdownCode(value string) string {
	value = strings.TrimSpace(value)
	if value == "" {
		value = "N/A"
	}
	value = strings.ReplaceAll(value, "`", "'")
	return "`" + value + "`"
}

func markdownCommand(command Command) string {
	return command.Slash()
}
