Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelMatcher ¶
type Command ¶
type Command struct { Title string `json:"title"` Command commandAndArgs `json:"command"` // contains filtered or unexported fields }
type CommandContext ¶
type MetaData ¶
type MetaData struct { PerspectiveTitle string SessionTitle string EventTitle string CategoryTitle string EpisodeTitle string SeasonTitle string Date time.Time OrdinalNumber int }
MetaData contains title metadata
type MultiCommand ¶
type MultiCommand struct { Title string `json:"title,omitempty"` Targets []ChannelMatcher `json:"targets,omitempty"` }
type Store ¶
type Store struct { Commands []Command MultiCommads []MultiCommand // contains filtered or unexported fields }
func (*Store) GetCommand ¶
func (s *Store) GetCommand(multi ChannelMatcher) Command
func (*Store) RunCommand ¶
func (s *Store) RunCommand(cc CommandContext) error
Click to show internal directories.
Click to hide internal directories.